@better-scroll/nested-scroll
v2.5.1 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