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

2.5.1 • Public • Published

better-scroll

中文文档

nestedScroll is a plugin which helps you solve the trouble of nested Scroll

Usage

  import BScroll from 'better-scroll'
  import NestedScroll from '@better-scroll/nested-scroll'

  BScroll.use(NestedScroll)

  // parent bs
  new BScroll('.outerWrapper', {
    nestedScroll: true
  })
  // child bs
  new BScroll('.innerWrapper', {
    nestedScroll: true
  })

Package Sidebar

Install

npm i @better-scroll/nested-scroll

Weekly Downloads

2,831

Version

2.5.1

License

MIT

Unpacked Size

81.4 kB

Total Files

13

Last publish

Collaborators

  • hubvue
  • dolymood
  • candyj
  • theniceangel