@angular/animations

AnimationPlayer

interface

Provides programmatic control of a reusable animation sequence, built using the AnimationBuilder.build() method which returns an AnimationFactory, whose create() method instantiates and initializes this interface.

  
    interface AnimationPlayer {  beforeDestroy?: () => any;}}
  
  
Jump to details