{ loop: true } swiper-slide goes wrong when data is from v-for
See original GitHub issue config is like this:
swiperOption: {
loop: true
}
vue content,if this,is ok:
"<swiper-slide>Slide 2</swiper-slide>
<swiper-slide>Slide 2</swiper-slide>
<swiper-slide>Slide 3</swiper-slide>"
go wrong is this:
"<swiper-slide v-if="v in dataList">{{v.name}}</swiper-slide>"
you can try
English is not very well,thanks 英文不好,见谅
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
Swiper.js loop:true does not work correctly - Stack Overflow
for me, i use swiper. · The problem is that src attribute is removed from the duplicated (swiper adds duplicated slides to work...
Read more >swiper get active slide | The AI Search Engine You Control
I am trying to get a piece of text appear when the Swiper Slide is active(centered) and then disappear when it is not...
Read more >Tiny Slider 2 - GitHub Pages
Option Type Description
axis “horizontal” | “vertical” Default: “horizontal”. The axis of the slider.
gutter positive integer Default: 0. Space between slides (in “px”).
edgePadding positive...
Read more >swiper | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn.
Read more >swiper slidesperview not working - amiraartdecor.it
I am using swiper 3. if no next slide use slideToLoop. Files. myswiper", { initialslide: 1, effect: "coverflow", grabcursor: true, centeredslides: true, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
add v-if=“dataList.length>0” for its parent to solve
hey you people, you forgot your English? please contribute to the community by using the global language