How to re-render a owl-carousel item?

前端 未结 7 1484
太阳男子
太阳男子 2020-12-09 05:49

Well, I\'m using a owl-carousel-2 plugin now.

And I encounter the following problem:

The markup code:

相关标签:
7条回答
  • 2020-12-09 06:29

    Have you read the documentation of the plugin you are using, because the owl carousel has a refresh method when you want to update the carousel.

    refresh.owl.carousel
    
    Type: attachable, cancelable, triggerable
    Callback: onRefresh
    Parameter: [event, speed]
    

    The docs are here for events

    0 讨论(0)
提交回复
热议问题