【问题标题】:how to set the direction of vue-carousel-3d如何设置 vue-carousel-3d 的方向
【发布时间】:2018-08-31 02:02:26
【问题描述】:

我想设置从左到右的自动播放方向, 因为官方api默认值是从右到左: dir Animation direction Type: String Default: rtl 所以,我想改变这一点。 但不起作用,这是我的代码
<carousel-3d :autoplay="true" :dir=ltr >

你可以使用这个代码笔enter link description here

官网:enter link description here

如果你知道这个问题,请告诉我,谢谢!????

【问题讨论】:

    标签: javascript vue.js carousel


    【解决方案1】:

    应该是dir="ltr"

    <carousel-3d :autoplay="true" dir="ltr" :autoplay-timeout="5000" :display="3" :perspective=0 >
    </carousel-3d>
    

    演示https://jsfiddle.net/t107hLka/

    【讨论】:

    • ues 你的代码解决了这个问题。  ̄□ ̄||,再次感谢您的回答?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-22
    • 1970-01-01
    • 1970-01-01
    • 2018-10-31
    • 2012-09-17
    相关资源
    最近更新 更多