|
4 days ago | |
---|---|---|
.. | ||
dist | 4 days ago | |
src | 4 days ago | |
LICENSE | 4 days ago | |
README.md | 4 days ago | |
README_zh-CN.md | 4 days ago | |
package.json | 4 days ago |
Allow the mouse wheel to manipulate scrolling behavior.
import BScroll from '@better-scroll/core'
import MouseWheel from '@better-scroll/mouse-wheel'
BScroll.use(MouseWheel)
const bs = new BScroll('.wrapper', {
// ...
mouseWheel: {
speed: 2,
invert: false,
easeTime: 300,
}
})