Skip to content

mateusmirandaalmeida/ng-image-animator-loading

Repository files navigation

NgImageAnimatorLoading - AngularJs Demo

N|Solid

Create animations while your images are loading.

Developers

Pre requirements

Plugin README
AngularJs https://angularjs.org/

Installation

$  bower install ng-image-animator-loading --save
$  npm install ng-image-animator-loading --save

Put in your code the following script:

 <script src="bower_components/ng-image-animator-loading/dist/ng-image-animator-loading.min.js"></script>
 <script src="node_modules/ng-image-animator-loading/dist/ng-image-animator-loading.min.js"></script>

Are you ready to start?

Usage

 <img animator-loading="https://goo.gl/jBNT0M"
      background="#9B59B6"
      width="200"
      height="200"/>

Attributes

Attribute Description Value
animator-loading Component call Path of the image to be displayed
background Change the loading background One color code