num-flip
v0.0.1
Published
数字翻页动画,组件局部调用
Downloads
4
Readme
num-flip
数字翻页效果
页面局部引用
import numFlip from 'num-flip'
export default {
...,
components: { numFlip}
}
可以在template的页面中调用
可配置的属性
- flipTime:(可选),动画翻页的时间间隔
- numTitle:(必选),数据的标题
- nid:(必选),渲染出数字样式的id,不能相同
- totalNum:(必选),初始化的数字