How to restart Swiper js with active Swup? #6507
Unanswered
AleksandrDomashenko
asked this question in
Q&A
Replies: 1 comment
-
Maybe this helps https://stackoverflow.com/questions/78341659/how-to-restart-swiper-js-with-active-swup |
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
-
There is the following script on the page that changes the content without reloading the page:
On the main page there is a slider with a connected swiper.
At the initial loading, the slider works, everything is fine.
But as soon as I go to another page and come back the slider does not work, the buttons are not active...
The sweeper initialization script itself looks like this:
I tried to do it through api methods .UpdateProgress(), .update Size(), .update Slides(), .update().
Nothing happens...
Beta Was this translation helpful? Give feedback.
All reactions