@better-scroll/mouse-wheel
v2.5.1
Published
support for MouseWheel in PC
Downloads
18,045
Readme
@better-scroll/mouse-wheel
Allow the mouse wheel to manipulate scrolling behavior.
Usage
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,
}
})