miniprogram-image
the miniprogram image component for large picture.
- UX
- 模糊缩略图
- 错误重试
- 动画
- loading
- 淡入
- API
- 全局 LoggerHandler
- onLoad
- onError
- 全局 LoggerHandler
install
npm i miniprogram-image -S
usage
使用组件
全局配置
;configretry = 5; //全局默认重试次数,若组件中设置则优先使用组件设置config {}; // 出错回调LoggerHandlerconfig {}; // 成功加载LoggerHandler
examples