img-loading-indicator

0.1.0 • Public • Published

ImgLoadingIndicator

Loading indicator for large images based on XMLHttpRequest

##Getting started

  1. npm install img-loading-indicator your project or download arhive
  2. Include ImgLoadingIndicator.js, ImgLoadingIndicator.less
  3. Create instance JNotice with your options
  4. Add the object to the notification
  5. Call JNotice at the right time
<script>
   var jnotice = new JNotice();
   jnotice.add({html: 'Hello world JNotice!', duration: 3000});
   jnotice.call();
</script>

/img-loading-indicator/

    Package Sidebar

    Install

    npm i img-loading-indicator

    Weekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • web.ulyanov