0

I am new in quasar framework. I need to know how to make image gallery slider automatic change in a few second. how i can setting it? sorry if my grammar bad.

4

1 回答 1

0

您应该将代码尝试用于未来的问题。

请参阅此处的类星体文档:http: //quasar-framework.org/components/slider.html

关于你想要的一个简单的例子:

<p class="caption">
    Slider with Infinite Scroll and Autoplay
  </p>
  <q-slider infinite autoplay arrows dots class="text-white">
    <div slot="slide" class="bg-primary centered">
      Slide 1
    </div>
    <div slot="slide" class="bg-secondary centered">
      Slide 2
    </div>
    <div slot="slide" class="bg-tertiary centered">
      Slide 3
    </div>
  </q-slider>

'autoplay' 属性可以是布尔值或数字(表示滚动之间的毫秒数。)

于 2017-04-21T08:19:22.980 回答