• Overview
@angular/animations

animation

function

Produces a reusable animation that can be invoked in another animation or sequence, by calling the useAnimation() function.

Produces a reusable animation that can be invoked in another animation or sequence, by calling the useAnimation() function.

@paramstepsAnimationMetadata | AnimationMetadata[]

One or more animation objects, as returned by the animate() or sequence() function, that form a transformation from one state to another. A sequence is used by default when you pass an array.

@paramoptionsAnimationOptions | null

An options object that can contain a delay value for the start of the animation, and additional developer-defined parameters. Provided values for additional parameters are used as defaults, and override values can be passed to the caller on invocation.

Jump to details