2.5.2 • Published 1 year ago

@fyzhu/wheel v2.5.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@better-scroll/wheel

中文文档

Implement a plugin similar to the effects of the IOS Picker component.

Usage

import BScroll from '@better-scroll/core'
import Wheel from '@better-scroll/wheel'
BScroll.use(Wheel)

const bs = new BScroll('.wheel-wrapper', {
  wheel: {
    selectedIndex: 0,
    wheelWrapperClass: 'wheel-scroll',
    wheelItemClass: 'wheel-item',
    wheelDisabledItemClass: 'wheel-disabled-item'
  },
  probeType: 3
})
2.5.2

1 year ago

2.5.1

1 year ago

2.5.0

1 year ago