MCPcopy
hub / github.com/ampproject/amphtml / canAnimate

Method canAnimate

src/service/vsync-impl.js:263–265  ·  view source on GitHub ↗

* Whether the runtime is allowed to animate at this time. * @param {!Node} contextNode * @return {boolean}

(contextNode)

Source from the content-addressed store, hash-verified

261 * @return {boolean}
262 */
263 canAnimate(contextNode) {
264 return this.canAnimate_(devAssert(contextNode));
265 }
266
267 /**
268 * @param {!Node=} opt_contextNode

Callers 3

test-vsync.jsFile · 0.45
constructorMethod · 0.45
stepMutate_Method · 0.45

Calls 2

canAnimate_Method · 0.95
devAssertFunction · 0.90

Tested by

no test coverage detected