MCPcopy Index your code
hub / github.com/angular/angular / useAnimation

Function useAnimation

packages/animations/src/animation_metadata.ts:1200–1205  ·  view source on GitHub ↗
(
  animation: AnimationReferenceMetadata,
  options: AnimationOptions | null = null,
)

Source from the content-addressed store, hash-verified

1198 * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23
1199 */
1200export function useAnimation(
1201 animation: AnimationReferenceMetadata,
1202 options: AnimationOptions | null = null,
1203): AnimationAnimateRefMetadata {
1204 return {type: AnimationMetadataType.AnimateRef, animation, options};
1205}
1206
1207/**
1208 * Finds one or more inner elements within the current element that is

Callers 4

CmpClass · 0.90
animation_spec.tsFile · 0.90
animations.1.tsFile · 0.90
open-close.3.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…