You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
林华焜 b6f8f922cf
first commit
4 years ago
..
dist first commit 4 years ago
src first commit 4 years ago
LICENSE first commit 4 years ago
README.md first commit 4 years ago
README_zh-CN.md first commit 4 years ago
package.json first commit 4 years ago

README.md

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