MCPcopy Create free account
hub / github.com/angular/angular / animateFn

Function animateFn

packages/core/test/render3/node_animations_spec.ts:155–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 enableAnimationRuntimeSupport();
154 const el = {} as HTMLElement;
155 const animateFn = () => ({promise: Promise.resolve(), resolve: () => {}});
156 const lView = viewWith({leave: new Map([[tNode.index, {animateFns: [animateFn]}]])});
157 (lView as unknown[])[tNode.index] = el;
158 trackLeavingNodes(tNode, el, lView);

Callers 1

scheduleAnimationQueueFunction · 0.85

Calls 1

resolveMethod · 0.65

Tested by

no test coverage detected