@better-scroll/observe-image
v2.5.1
Published
Observe image loading for BetterScroll
Downloads
9,525
Readme
@better-scroll/observe-image
when detecting images is loaded or failed to load, auto refresh BetterScroll's size.
Usage
import BScroll from '@better-scroll/core'
import ObserveImage from '@better-scroll/observe-image'
BScroll.use(ObserveImage)
const bs = new BScroll('.wrapper', {
observeImage: true
})