Article From:https://segmentfault.com/q/1010000014332624
Question:

The following is the HTML code:

js:

var mySwiper = new Swiper(‘.swiper-container’,{

pagination: '.pagination',
paginationClickable: true,
mode: 'vertical',
mousewheelControl : true,
mousewheelControlForceToAxis : true

})
var mySwiper = new Swiper(‘.swiper-container’,{

pagination: '.pagination1',
paginationClickable: true,
mode: 'vertical',
mousewheelControl : true,
mousewheelControlForceToAxis : true

})

If the above is written, it can be synchronized when rolling, and can not be synchronized when clicking.

Answer 0:

classIt’s wrong. The pager class is pagination. If you want to divide the name, you can add ID or add class name.

Leave a Reply

Your email address will not be published. Required fields are marked *