The following is the example
https://jsfiddle.net/enylin/1qcm8v50/66/
If I create only one slide, then clickedIndex will be undefined instead of 0.
How should I get the correct index?
The following is the example
https://jsfiddle.net/enylin/1qcm8v50/66/
If I create only one slide, then clickedIndex will be undefined instead of 0.
How should I get the correct index?
Could be a Swiper bug, but if you use F7-Vue, you don’t need it at all, just use @click.native
handler on swiper-slide:
<f7-swiper-slide @click.native="doSomething">...</f7-swiper-slide>