MCPcopy Create free account
hub / github.com/angular-ui/ui-router / computeTimings

Function computeTimings

test/angular/1.6/angular-animate.js:945–957  ·  view source on GitHub ↗
(node, className, cacheKey)

Source from the content-addressed store, hash-verified

943 }
944
945 function computeTimings(node, className, cacheKey) {
946 var timings = computeCachedCssStyles(node, className, cacheKey, DETECT_CSS_PROPERTIES);
947 var aD = timings.animationDelay;
948 var tD = timings.transitionDelay;
949 timings.maxDelay = aD && tD
950 ? Math.max(aD, tD)
951 : (aD || tD);
952 timings.maxDuration = Math.max(
953 timings.animationDuration * timings.animationIterationCount,
954 timings.transitionDuration);
955
956 return timings;
957 }
958
959 return function init(element, initialOptions) {
960 // all of the animation functions should create

Callers 2

angular-animate.jsFile · 0.70
triggerAnimationStartFunction · 0.70

Calls 1

computeCachedCssStylesFunction · 0.70

Tested by

no test coverage detected