Skip to content

Commit

Permalink
fix(vue): add "observer" params support to props
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Feb 17, 2021
1 parent 37873d5 commit 1d37ff7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vue/params-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ const paramsList = [
'slideDuplicatePrevClass',
'wrapperClass',
'runCallbacksOnInit',
'observer',
'observeParents',
'observeSlideChildren',

// modules
'a11y',
Expand Down
3 changes: 3 additions & 0 deletions src/vue/swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ const Swiper = {
slideDuplicatePrevClass: { type: String, default: undefined },
wrapperClass: { type: String, default: undefined },
runCallbacksOnInit: { type: Boolean, default: undefined },
observer: { type: Boolean, default: undefined },
observeParents: { type: Boolean, default: undefined },
observeSlideChildren: { type: Boolean, default: undefined },
a11y: { type: [Boolean, Object], default: undefined },
autoplay: { type: [Boolean, Object], default: undefined },
controller: { type: Object, default: undefined },
Expand Down

0 comments on commit 1d37ff7

Please sign in to comment.