ce-countup

1.0.0 • Public • Published

数字滚动插件

实例代码

    import CountUp from 'ce-countup'
    import 'ce-countup/dist/main.css'

    const appId = document.querySelector('#app')
    const app = new CountUp(appId)

    app.render(20000) // 开始滚动到 20000

命令

    npm run dev  本地测试命令
    npm run bulid  生产目标代码

Dependencies (0)

    Dev Dependencies (15)

    Package Sidebar

    Install

    npm i ce-countup

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    16.7 kB

    Total Files

    16

    Last publish

    Collaborators

    • junlinchen