0.0.1 • Published 7 years ago
sd-marquee v0.0.1
sd-marquee
安装使用
npm install sd-marquee --save
import SdMarquee from 'sd-marquee'
Vue.use(SdMarquee)
参数说明
- clickFunc: 点击事件
- type: Function
- default: () => {}
- content: 滚动内容
- type: String
- default: ''
- contentColor: 内容颜色
- type: String
- default: '#fff'
- speed: 滚动速度
- type: Number
- default: 12
- delay: 延迟n秒开始滚动
- type: Number
- default: 1
0.0.1
7 years ago