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

Function animation

packages/animations/src/animation_metadata.ts:1154–1159  ·  view source on GitHub ↗
(
  steps: AnimationMetadata | AnimationMetadata[],
  options: AnimationOptions | null = null,
)

Source from the content-addressed store, hash-verified

1152 * @deprecated 20.2 Use `animate.enter` or `animate.leave` instead. Intent to remove in v23
1153 */
1154export function animation(
1155 steps: AnimationMetadata | AnimationMetadata[],
1156 options: AnimationOptions | null = null,
1157): AnimationReferenceMetadata {
1158 return {type: AnimationMetadataType.Reference, animation: steps, options};
1159}
1160
1161/**
1162 * Executes a queried inner animation element within an animation sequence.

Callers 4

animation_spec.tsFile · 0.90
animations.tsFile · 0.90
animations.1.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…