Swiper Slider Mouse Hover Pagination

时间:2017-08-14 06:31:48

标签: swiper

我想在Swiper Slider上制作鼠标悬停分页。我该怎么办?

这是我的javascript代码;

        var subSlider = new Swiper ('.subsSlider', {
          // Optional parameters
            direction: 'vertical',
            loop: true,
            // If we need pagination
            pagination: '.swiper-pagination',
            paginationClickable: true,
            paginationBulletRender: function (swiper, index, className) {
                return '<span class="' + className + '">' + (index + 1) + '</span>';
            }
        }) 

1 个答案:

答案 0 :(得分:0)

通过常规/普通CSS hover样式 -

cypher()