Nicer Package Manager

    rjs-autofixed

    1.0.21 • Public • Published

    滚动时自动fixed

    用法

    const AutoFixed = require('rjs-autofixed')
    // 初始
    const autoFixed = new AutoFixed('.auto-fixed', 150)
    console.log(autoFixed)
    // (可选)切换内容时重置内容偏移
    autoFixed.reset()
    

    TODO

    Keywords

    Install

    npm i rjs-autofixed

    Homepage

    richlee.cn

    DownloadsWeekly Downloads

    19

    Version

    1.0.21

    License

    MIT

    Unpacked Size

    1.73 kB

    Total Files

    3

    Last publish

    Collaborators

    • artgou