diff --git a/src/swiper-vue.d.ts b/src/swiper-vue.d.ts index 51717e564..eaf1290ed 100644 --- a/src/swiper-vue.d.ts +++ b/src/swiper-vue.d.ts @@ -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 }; diff --git a/src/vue/swiper.js b/src/vue/swiper.js index d828b78f8..f1714b9c8 100644 --- a/src/vue/swiper.js +++ b/src/vue/swiper.js @@ -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 },