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

Dependents (0)

Package Sidebar

Install

npm i rjs-autofixed

Homepage

richlee.cn

Weekly Downloads

1

Version

1.0.21

License

MIT

Unpacked Size

1.73 kB

Total Files

3

Last publish

Collaborators

  • artgou