@better-scroll/nested-scroll
v2.5.1
Published
make your nested scrolls reconciliation
Downloads
9,151
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 '@better-scroll/nested-scroll'
BScroll.use(NestedScroll)
// parent bs
new BScroll('.outerWrapper', {
nestedScroll: true
})
// child bs
new BScroll('.innerWrapper', {
nestedScroll: true
})