Angular Transit
Simple transitions for your Angular application using jQuery transitions
You must have jQuery included before using this application.
For Browserify and Webpack users, you will need to bind the jQuery npm module to the window by doing:
window.$ = require('jquery');
Usage
Directive - fade
You can have a $scope
attribute as an attribute variable for fadeIn()
or fadeOut()
an element.
Example usage (assuming you are using $scope
or $rootScope
variables):
<el fade="true"></el>
<el fade="false"></el>
<el fade="true ms:2000"></el>
<el fade="false ms:2000"></el>
<el fade="true ms:3000 delay:1000"></el>
Directive - slide
You can have a $scope
attribute as an attribute variable for slideDown()
or slideUp()
an element.
Example usage (assuming you are using $scope
or $rootScope
variables):
<el slide="true"></el>
<el slide="false"></el>
<el slide="true ms:2000"></el>
<el slide="false ms:2000"></el>
<el slide="true ms:3000 delay:1000"></el>
Thanks for checking Angular Transit out!
We are open to changes to the package at anytime whatsoever. So if you'd like to contribute or have suggestions, please email chris@pilotinteractive.ca
Maintained by Chris Cates and Pilot Interactive.