Skip to content

Commit

Permalink
fix(components): add modules prop
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 4, 2021
1 parent 58f3662 commit 596e2a1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/react/params-list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* underscore in name -> watch for changes */
const paramsList = [
'modules',
'init',
'_direction',
'touchEventsTarget',
Expand Down
1 change: 1 addition & 0 deletions src/svelte/params-list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* underscore in name -> watch for changes */
const paramsList = [
'modules',
'init',
'_direction',
'touchEventsTarget',
Expand Down
1 change: 1 addition & 0 deletions src/vue/params-list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* underscore in name -> watch for changes */
const paramsList = [
'modules',
'init',
'_direction',
'touchEventsTarget',
Expand Down
4 changes: 4 additions & 0 deletions src/vue/swiper-vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ declare const Swiper: DefineComponent<
type: StringConstructor;
default: string;
};
modules: {
type: ArrayConstructor;
default: undefined;
};
init: {
type: BooleanConstructor;
default: undefined;
Expand Down
2 changes: 1 addition & 1 deletion src/vue/swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Swiper = {
type: String,
default: 'div',
},

modules: { type: Array, default: undefined },
init: { type: Boolean, default: undefined },
direction: { type: String, default: undefined },
touchEventsTarget: { type: String, default: undefined },
Expand Down

0 comments on commit 596e2a1

Please sign in to comment.