Skip to content

Commit

Permalink
fix(element): fix issue updating with boolean module params
Browse files Browse the repository at this point in the history
fixes #6947
  • Loading branch information
nolimits4web committed Aug 18, 2023
1 parent 59d23b9 commit 1cc359e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swiper-element.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ paramsList.forEach((paramName) => {
if (!this.passedParams) this.passedParams = {};
this.passedParams[paramName] = value;
if (!this.initialized) return;
this.updateSwiperOnPropChange(paramName);
this.updateSwiperOnPropChange(paramName, value);
},
});
});
Expand Down

0 comments on commit 1cc359e

Please sign in to comment.