How to pause a swiper instance by a dom element #5622
Unanswered
alexander-schranz
asked this question in
Q&A
Replies: 1 comment
-
was doing something wrong: document.querySelector('#element').swiper.slideTo(0, 0); did work like expecting. https://swiperjs.com/swiper-api#methods-and-properties |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I currently trying to pause a specific swiper gallery which I do not have access how it is being initialized.
I found that I can get via:
A swiper object. But this object seems to have no methods to be called. Any way to pause, slide to first slide without access how it was instanced or how swiper was bundled?
Beta Was this translation helpful? Give feedback.
All reactions