Swiper initial slide / direction

Hello, Is it possible to set the initial slide or direction of a swiper. Currently I don’t think it’s possible with Wappler to render a slide first then swipe the slide to the right to reveal the second slide set to the left. So this will always result in new slides being rendered to the right of the initial slide.

I looked through the documentation but was confused about the terminology, thought maybe their was class I could set easily.

The idea here is the version, attribution, team is before the auth page chronologically but shouldnt be loaded first for the user.

Framework 7 definitely supports setting the initial slide, but I’m not familiar with the app connect version in Wappler.

Try adding data-initialSlide=“2” as an attribute in the swiper element.

1 Like

Thanks for your reply, it didn’t work unfortunately.

Ya, I think the translation from FW7 to data attribute would actually be data-initial-slide, but I just tried and that didn’t work either. If they don’t add this option, you can always add a standard swiper with the code. Seems like a reasonable request to add the feature though.

1 Like