How can I destroy and init again an existing swiper using some changed / added parameters? #7497
Unanswered
martin-petzold
asked this question in
Q&A
Replies: 2 comments
-
I checked 'params' before and after init. Both are identical, and 'slidesPerView' is changed to 4. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Omg, a whole year passed...
But it doesn't work well with breakpoints. I opened my discussion about that: #7949 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an existing swiper instance and would like to change / add some additional parameters after first initialization.
However, I can't get it working. This does not work:
OR
OR
OR
After this I don't have four slides on the view (still one) and also the navigation does not work anymore.
Thanks,
Martin
Beta Was this translation helpful? Give feedback.
All reactions