Skip to content

iamsamwood/angular-image-spinner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Image Spinner

Using spin.js showing the spinner while image is preloading on the background.

  <img src='http://www.example.com/image.jpg' image-spinner width=100 height=200 />

Also it's possible to pass spin.js settings using image-spinner-settings attribute for img element.

Note: The directive will not be applied if you missed one of the parameters width, height.

Installation

bower install angular-image-spinner --save

Then, add imageSpinner module to your app:

angular
  .module('example', [
    /**
    // your other used modules
    **/
    'imageSpinner'
  ])

About

Awesome image spinner using angular and spin.js libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 72.0%
  • JavaScript 28.0%