|
vor 1 Woche | |
---|---|---|
.. | ||
dist | vor 1 Woche | |
src | vor 1 Woche | |
LICENSE | vor 1 Woche | |
README.md | vor 1 Woche | |
README_zh-CN.md | vor 1 Woche | |
package.json | vor 1 Woche |
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,
}
})