# Carousel 轮播
k-carousel Attributes
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
selected | 当前幻灯片绑定的name值,可以用 .sync 修饰符修饰。 | String,Number | —— | —— |
autoPlay | 是否自动播放。 | Boolean | true, false | true |
autoPlayDelay | 自动播放延时,单位为毫秒。 | Number | —— | 3000 |
k-carousel-item Attributes
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
name | 唯一标识符,必填。 | String | —— | —— |