Nanoseconds Produce Minutes
    Have ideas to improve npm?Join in the discussion! »

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

    2.3.0 • Public • Published

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

    Install

    npm i @better-scroll/wheel

    DownloadsWeekly Downloads

    2,746

    Version

    2.3.0

    License

    MIT

    Unpacked Size

    66.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar