@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.13,061latest
2.0.0-beta.104next

Version History

VersionDownloads (Last 7 Days)Published
2.5.13,061
2.5.0264
2.4.2198
2.4.171
2.4.02
2.3.19
2.3.05
2.2.118
2.2.09
2.1.414
2.1.32
2.1.22
2.1.19
2.1.02
2.0.74
2.0.63
2.0.52
2.0.47
2.0.32
2.0.27
2.0.12
2.0.02
2.0.0-beta.104
2.0.0-beta.93
2.0.0-beta.814
2.0.0-beta.68
2.0.0-beta.52
2.0.0-beta.42
2.0.0-beta.22
2.0.0-beta.12
2.0.0-alpha.202
2.0.0-alpha.192
2.0.0-alpha.183
2.0.0-alpha.162
2.0.0-alpha.152
2.0.0-alpha.142
2.0.0-alpha.135
2.0.0-alpha.123
2.0.0-alpha.112
2.0.0-alpha.102
2.0.0-alpha.92
2.0.0-alpha.72
2.0.0-alpha.53
2.0.0-alpha.43

Package Sidebar

Install

npm i @better-scroll/mouse-wheel

Weekly Downloads

3,767

Version

2.5.1

License

MIT

Unpacked Size

57 kB

Total Files

10

Last publish

Collaborators

  • hubvue
  • dolymood
  • candyj
  • theniceangel