vue-seamless-roll
v0.1.0
Published
[](https://www.npmjs.com/package/vue-seamless-roll)  [[]>,
default: () => [],
},
interval: {
// How long is the item Staying.
type: [ Number, String ],
default: 2000,
},
transitions: {
// No need to describe more.
type: Object as PropType<{
'transition-delay': string
'transition-duration': string
'transition-timing-function': string
}>,
default: () => ({
'transition-delay': '0',
'transition-duration': '1s', // Actually, the whole duration time is added with the `transition-delay`.
'transition-timing-function': 'linear',
}),
},
},TODO
- [ ] Support slot.
- [ ] define and expose methods like
startRoll\stopRoll\rollTo.
