@better-scroll/mouse-wheel
TypeScript icon, indicating that this package has built-in type declarations

2.5.1 • Public • Published

@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,
  }
})

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.5.16,108latest
2.0.0-beta.104next

Version History

VersionDownloads (Last 7 Days)Published
2.5.16,108
2.5.0367
2.4.290
2.4.177
2.4.04
2.3.119
2.3.05
2.2.111
2.2.020
2.1.42
2.1.30
2.1.20
2.1.12
2.1.00
2.0.73
2.0.64
2.0.57
2.0.42
2.0.317
2.0.21
2.0.10
2.0.00
2.0.0-beta.104
2.0.0-beta.90
2.0.0-beta.810
2.0.0-beta.61
2.0.0-beta.51
2.0.0-beta.40
2.0.0-beta.24
2.0.0-beta.10
2.0.0-alpha.200
2.0.0-alpha.191
2.0.0-alpha.180
2.0.0-alpha.160
2.0.0-alpha.150
2.0.0-alpha.140
2.0.0-alpha.131
2.0.0-alpha.121
2.0.0-alpha.110
2.0.0-alpha.100
2.0.0-alpha.90
2.0.0-alpha.70
2.0.0-alpha.51
2.0.0-alpha.40

Package Sidebar

Install

npm i @better-scroll/mouse-wheel

Weekly Downloads

6,763

Version

2.5.1

License

MIT

Unpacked Size

57 kB

Total Files

10

Last publish

Collaborators

  • hubvue
  • dolymood
  • candyj
  • theniceangel