img-loading-indicator
v0.1.0
Published
Loading indicator for large images based on XMLHttpRequest
Downloads
4
Readme
ImgLoadingIndicator
Loading indicator for large images based on XMLHttpRequest
##Getting started
npm install img-loading-indicator
your project or download arhive- Include ImgLoadingIndicator.js, ImgLoadingIndicator.less
- Create instance JNotice with your options
- Add the object to the notification
- Call JNotice at the right time
<script>
var jnotice = new JNotice();
jnotice.add({html: 'Hello world JNotice!', duration: 3000});
jnotice.call();
</script>