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

Function blockTransitions

lib/test/angular/1.4.3/angular-animate.js:670–677  ·  view source on GitHub ↗
(node, duration)

Source from the content-addressed store, hash-verified

668}
669
670function blockTransitions(node, duration) {
671 // we use a negative delay value since it performs blocking
672 // yet it doesn't kill any existing transitions running on the
673 // same element which makes this safe for class-based animations
674 var value = duration ? '-' + duration + 's' : '';
675 applyInlineStyle(node, [TRANSITION_DELAY_PROP, value]);
676 return [TRANSITION_DELAY_PROP, value];
677}
678
679function blockKeyframeAnimations(node, applyBlock) {
680 var value = applyBlock ? 'paused' : '';

Callers 3

initFunction · 0.70
closeFunction · 0.70
applyBlockingFunction · 0.70

Calls 1

applyInlineStyleFunction · 0.70

Tested by

no test coverage detected