angular-scroll-animate
Version:
An Angular.js directive which allows you to perform any javascript actions (in the controller, or on the element) when an element is scrolled into, or out of, the users viewport, without any other dependencies.
26 lines • 1.03 kB
JavaScript
NG_DOCS={
"sections": {
"api": "API"
},
"pages": [
{
"section": "api",
"id": "angular-scroll-animate.directive:when-visible",
"shortName": "when-visible",
"type": "directive",
"moduleName": "angular-scroll-animate",
"shortDescription": "Allows method hooks into the detection of when an element is scrolled into or out of view.",
"keywords": "$el $scope addclass allows angular angular-scroll-animate animate animatein animateout animations api binding car class container controller css default delay detection directive ease-in element event example examplectrl execute fadein function hidden hooks html js method module ng-controller override parent percentage px removeclass removeclassclass scroll scrolled transition view viewport visibility visible when-not-visible when-visible"
}
],
"apis": {
"api": true
},
"html5Mode": false,
"editExample": true,
"startPage": "/api",
"scripts": [
"angular.min.js",
"angular-scroll-animate.js"
]
};