@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,636latest
2.0.0-beta.102next

Version History

VersionDownloads (Last 7 Days)Published
2.5.16,636
2.5.0363
2.4.2125
2.4.191
2.4.00
2.3.119
2.3.04
2.2.17
2.2.013
2.1.448
2.1.30
2.1.20
2.1.14
2.1.00
2.0.77
2.0.62
2.0.52
2.0.46
2.0.318
2.0.20
2.0.10
2.0.00
2.0.0-beta.102
2.0.0-beta.90
2.0.0-beta.813
2.0.0-beta.62
2.0.0-beta.50
2.0.0-beta.43
2.0.0-beta.20
2.0.0-beta.10
2.0.0-alpha.203
2.0.0-alpha.190
2.0.0-alpha.180
2.0.0-alpha.160
2.0.0-alpha.150
2.0.0-alpha.140
2.0.0-alpha.130
2.0.0-alpha.120
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

7,369

Version

2.5.1

License

MIT

Unpacked Size

57 kB

Total Files

10

Last publish

Collaborators

  • hubvue
  • dolymood
  • candyj
  • theniceangel