@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
103 lines (102 loc) • 1.84 kB
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const carouselProps = {
/**
* @zh-CN 激活索引 (v-model)
* @en-US Active index (v-model)
*/
activeIndex: {
type: Number
},
/**
* @zh-CN 切换效果
* @en-US Switch effect
* @default 'gallery'
*/
effect: {
type: String,
default: "gallery"
},
/**
* @zh-CN 自动播放
* @en-US Auto play
*/
autoPlay: {
type: Boolean
},
/**
* @zh-CN 播放间隔
* @en-US Play interval
* @default 5000
*/
interval: {
type: Number,
default: 5e3
},
/**
* @zh-CN 箭头显示时机
* @en-US Arrow display timing
* @default 'hover'
*/
arrow: {
type: String,
default: "hover"
},
/**
* @zh-CN 箭头容器类
* @en-US Arrow container class
*/
arrowWrapClass: {
type: [String, Array]
},
/**
* @zh-CN 隐藏指示器
* @en-US Hide indicator
*/
hideIndicator: {
type: Boolean
},
/**
* @zh-CN 指示器点击切换
* @en-US Indicator click to switch
*/
indicatorClick: {
type: Boolean
},
/**
* @zh-CN 指示器容器类
* @en-US Indicator container class
*/
indicatorWrapClass: {
type: [String, Array]
},
/**
* @zh-CN 点击卡片切换
* @en-US Click card to switch
*/
clickToSwitch: {
type: Boolean
},
/**
* @zh-CN 手动初始化,调用instance.init()
* @en-US Manual initialization, call instance.init()
*/
manualInit: {
type: Boolean
},
/**
* @zh-CN 自定义激活类
* @en-US Custom active class
*/
activeClass: {
type: String
},
/**
* @zh-CN 鼠标悬停时暂停自动切换
* @en-US Pause auto switching when mouse hover
*/
pauseOnHover: {
type: Boolean
}
};
exports.carouselProps = carouselProps;