MCPcopy
hub / github.com/angular-ui/ui-grid / computeTimings

Function computeTimings

lib/test/angular/1.8.0/angular-animate.js:915–927  ·  view source on GitHub ↗
(node, className, cacheKey, allowNoDuration)

Source from the content-addressed store, hash-verified

913 }
914
915 function computeTimings(node, className, cacheKey, allowNoDuration) {
916 var timings = computeCachedCssStyles(node, className, cacheKey, allowNoDuration, DETECT_CSS_PROPERTIES);
917 var aD = timings.animationDelay;
918 var tD = timings.transitionDelay;
919 timings.maxDelay = aD && tD
920 ? Math.max(aD, tD)
921 : (aD || tD);
922 timings.maxDuration = Math.max(
923 timings.animationDuration * timings.animationIterationCount,
924 timings.transitionDuration);
925
926 return timings;
927 }
928
929 return function init(element, initialOptions) {
930 // 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