MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / hasAnimationClasses

Function hasAnimationClasses

lib/test/angular/1.4.3/angular-animate.js:1886–1891  ·  view source on GitHub ↗
(options, and)

Source from the content-addressed store, hash-verified

1884 }
1885
1886 function hasAnimationClasses(options, and) {
1887 options = options || {};
1888 var a = (options.addClass || '').length > 0;
1889 var b = (options.removeClass || '').length > 0;
1890 return and ? a && b : a || b;
1891 }
1892
1893 rules.join.push(function(element, newAnimation, currentAnimation) {
1894 // if the new animation is class-based then we can just tack that on

Callers 3

angular-animate.jsFile · 0.70
queueAnimationFunction · 0.70
examineParentAnimationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected