微信小程序swiper滑块视图容器
2021-01-19|HiShop
导读:swiper 滑块视图容器。其中只可放置swiper-item组件,否则会导致未定义的行为。 change事件 source 返回值 从 1.4.0 开始,change事件增加 source字段,表示导致变更的原因,可能值如下: autop...
swiper
滑块视图容器。其中只可放置swiper-item组件,否则会导致未定义的行为。
change事件 source 返回值
从 1.4.0 开始,change事件增加 source字段,表示导致变更的原因,可能值如下:
autoplay 自动播放导致swiper变化;
touch 用户划动引起swiper变化;
其它原因将用空字符串表示。