AnimationTriggerMetadata

interface

Contains an animation trigger. Instantiated and returned by the trigger() function.

interface AnimationTriggerMetadata extends AnimationMetadata {
  name: string
  definitions: AnimationMetadata[]
  options: {...}

  // inherited from animations/AnimationMetadata
  type: AnimationMetadataType
}

Properties

Property Description
name: string

The trigger name, used to associate it with an element. Unique within the component.

definitions: AnimationMetadata[]

An animation definition object, containing an array of state and transition declarations.

options: { params?: { [name: string]: any; }; } | null

An options object containing a delay and developer-defined parameters that provide styling defaults and can be overridden on invocation. Default delay is 0.

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/animations/AnimationTriggerMetadata