Skip to content
图片加载插件
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
example
src
test
.babelrc
.gitignore
README.MD
gulpfile.js
package-lock.json
package.json

README.MD

LoaderX - 图片加载插件

Install

  • base

your html

<script src="loaderx.min.js"></script>
  • npm
npm i loaderx

your app.js

import LoaderX from 'loaderx'

方法介绍

add() 添加图片资源
addProgressListener() 监听加载进度
addCompletionListener() 监听完成事件
start() 启动

前端学习交流群,QQ群 : 692337464

License

MIT License

You can’t perform that action at this time.