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

Function blockTransitions

test/angular/1.4/angular-animate.js:357–364  ·  view source on GitHub ↗
(node, duration)

Source from the content-addressed store, hash-verified

355}
356
357function blockTransitions(node, duration) {
358 // we use a negative delay value since it performs blocking
359 // yet it doesn't kill any existing transitions running on the
360 // same element which makes this safe for class-based animations
361 var value = duration ? '-' + duration + 's' : '';
362 applyInlineStyle(node, [TRANSITION_DELAY_PROP, value]);
363 return [TRANSITION_DELAY_PROP, value];
364}
365
366function blockKeyframeAnimations(node, applyBlock) {
367 var value = applyBlock ? 'paused' : '';

Callers 3

angular-animate.jsFile · 0.70
closeFunction · 0.70
applyBlockingFunction · 0.70

Calls 1

applyInlineStyleFunction · 0.70

Tested by

no test coverage detected