angular-image-reveal
v1.0.1
Published
Angular directive for fading in images
Downloads
7
Maintainers
Readme
angular-image-reveal
Installation
Installation is super easy, simply add the dependencies to your angular module, and inject angular-image-reveal
in your angular module.
# use npm
$ npm install angular-image-reveal --save
Add angular-image-reveal to your dependencies
// app.js
angular
.module('yourApp', [
require('angular-image-reveal')
])
// template.html
<img src="..." image-reveal fallback="path/to/fallback.jpg" duration=".15s">