text Flickity-prev-next-button不会为第一个元素#598触发事件

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Flickity-prev-next-button不会为第一个元素#598触发事件相关的知识,希望对你有一定的参考价值。

https://github.com/metafizzy/flickity/issues/598

Sounds there is a bit of confusion in how the previous/next arrows work for a navigation carousel. The previous/next buttons allow a user to navigate cells in that carousel. So you could swipe to the far left or far right, and it wouldn't change the main carousel. The main carousel would only change when you clicked on a navigation cell.

To enable your desired behavior, you'll have to implement your own custom buttons. See demo https://codepen.io/desandro/pen/291975a383c8bce86d733dbcb2435a07

以上是关于text Flickity-prev-next-button不会为第一个元素#598触发事件的主要内容,如果未能解决你的问题,请参考以下文章