tz-better-scroll-nested-scroll
v2.5.5
Published
make your nested scrolls reconciliation
Downloads
7
Maintainers
Readme
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
})