Skip to content

Commit

Permalink
fix(vue): fix focusableElements prop type
Browse files Browse the repository at this point in the history
fixes #4822
  • Loading branch information
nolimits4web committed Aug 12, 2021
1 parent 95665cc commit 7f1b1b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/swiper-vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare const Swiper: DefineComponent<
};
nested: { type: BooleanConstructor; default: undefined };
focusableElements: {
type: BooleanConstructor;
type: StringConstructor;
default: undefined;
};
width: { type: NumberConstructor; 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 @@ -29,7 +29,7 @@ const Swiper = {
updateOnWindowResize: { type: Boolean, default: undefined },
resizeObserver: { type: Boolean, default: undefined },
nested: { type: Boolean, default: undefined },
focusableElements: { type: Boolean, default: undefined },
focusableElements: { type: String, default: undefined },
width: { type: Number, default: undefined },
height: { type: Number, default: undefined },
preventInteractionOnTransition: { type: Boolean, default: undefined },
Expand Down

0 comments on commit 7f1b1b9

Please sign in to comment.