@better-scroll/nested-scroll

v2.5.1
make your nested scrolls reconciliation
scroll iscroll javascript typescript ios

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
  })
npm i @better-scroll/nested-scroll

Metadata

  • MIT
  • Whatever
  • jizhi
  • released 3/29/2023

Downloads