|
il y a 4 jours | |
---|---|---|
.. | ||
dist | il y a 4 jours | |
src | il y a 4 jours | |
LICENSE | il y a 4 jours | |
README.md | il y a 4 jours | |
README_zh-CN.md | il y a 4 jours | |
package.json | il y a 4 jours |
when detecting images is loaded or failed to load, auto refresh BetterScroll's size.
import BScroll from '@better-scroll/core'
import ObserveImage from '@better-scroll/observe-image'
BScroll.use(ObserveImage)
const bs = new BScroll('.wrapper', {
observeImage: true
})