Skip to content

Commit

Permalink
fix(angular, vue, svelte): add 'observer', etc. to params-list
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky committed Feb 17, 2021
1 parent 37873d5 commit 8f1cd29
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/angular/src/swiper.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ export class SwiperComponent implements OnInit {
@Input() slideDuplicatePrevClass: SwiperOptions['slideDuplicatePrevClass'];
@Input() wrapperClass: SwiperOptions['wrapperClass'] = 'swiper-wrapper';
@Input() runCallbacksOnInit: SwiperOptions['runCallbacksOnInit'];
@Input() observeParents: SwiperOptions['observeParents'];
@Input() observeSlideChildren: SwiperOptions['observeSlideChildren'];
@Input() a11y: SwiperOptions['a11y'];
@Input() autoplay: SwiperOptions['autoplay'];
@Input() controller: SwiperOptions['controller'];
Expand Down
3 changes: 3 additions & 0 deletions src/angular/src/utils/params-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ export const paramsList = [
'slideDuplicatePrevClass',
'wrapperClass',
'runCallbacksOnInit',
'observer',
'observeParents',
'observeSlideChildren',

// modules
'a11y',
Expand Down
3 changes: 3 additions & 0 deletions src/svelte/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/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 8f1cd29

Please sign in to comment.