|
hai 3 días | |
---|---|---|
.. | ||
dist | hai 3 días | |
src | hai 3 días | |
LICENSE | hai 3 días | |
README.md | hai 3 días | |
README_zh-CN.md | hai 3 días | |
package.json | hai 3 días |
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,
}
})