easy-count-up

介绍

数字滚动组件,用于数字的动态效果展示。

使用方法

import '../../components/easy-count-up.stml'

例子

<easy-count-up
    :during="during"
    :customNum="customNum"
    :justify="justify"
></easy-count-up>

props 属性

| 参数 | 说明 | 类型 | 默认值 | | ------------- | ----------------------- -| ---------------- | ------- | | during | 滚动一次运行时间,必填 | number | 5000 | | customNum | 滚动数字个数,必填 | number | - | | justify | 数字位置,必填 | string | 'center'|

events 事件

事件名 说明 回调参数
是否仍需要帮助? 请保持联络!
最后更新于 2024/04/24