MCPcopy Index your code
hub / github.com/angular-ui/ui-router / applyAnimationClassesFactory

Function applyAnimationClassesFactory

test/angular/1.7/angular-animate.js:160–171  ·  view source on GitHub ↗
($$jqLite)

Source from the content-addressed store, hash-verified

158}
159
160function applyAnimationClassesFactory($$jqLite) {
161 return function(element, options) {
162 if (options.addClass) {
163 $$addClass($$jqLite, element, options.addClass);
164 options.addClass = null;
165 }
166 if (options.removeClass) {
167 $$removeClass($$jqLite, element, options.removeClass);
168 options.removeClass = null;
169 }
170 };
171}
172
173function prepareAnimationOptions(options) {
174 options = options || {};

Callers 1

angular-animate.jsFile · 0.70

Calls 2

$$addClassFunction · 0.70
$$removeClassFunction · 0.70

Tested by

no test coverage detected