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

2.5.5 • 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 'tz-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 tz-better-scroll-nested-scroll

Weekly Downloads

3

Version

2.5.5

License

MIT

Unpacked Size

81.3 kB

Total Files

13

Last publish

Collaborators

  • eat-fish