AnimationTransitionMetadata

interface experimental

npm Package @angular/animations
Module import { AnimationTransitionMetadata } from '@angular/animations';
Source animations/src/animation_metadata.ts

Interface Overview

interface AnimationTransitionMetadata extends AnimationMetadata { 
  expr: string | ((fromState: string, toState: string) => boolean)
  animation: AnimationMetadata | AnimationMetadata[]
  options: AnimationOptions | null
}

Description

Metadata representing the entry of animations. Instances of this interface are provided via the animation DSL when the transition animation function is called.

Members

expr: string | ((fromState: string, toState: string) => boolean)

animation: AnimationMetadata | AnimationMetadata[]

options: AnimationOptions | null

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/animations/AnimationTransitionMetadata