MCPcopy
hub / github.com/angular-ui/ui-router / blockTransitions

Function blockTransitions

test/angular/1.3/angular-animate.js:1984–1986  ·  view source on GitHub ↗
(node, bool)

Source from the content-addressed store, hash-verified

1982 }
1983
1984 function blockTransitions(node, bool) {
1985 node.style[TRANSITION_PROP + PROPERTY_KEY] = bool ? 'none' : '';
1986 }
1987
1988 function blockAnimations(node, bool) {
1989 node.style[ANIMATION_PROP + ANIMATION_PLAYSTATE_KEY] = bool ? 'paused' : '';

Callers 2

animateSetupFunction · 0.70
animateRunFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected