• Overview
@angular/animations/browser

NoopAnimationDriver

Class
deprecatedsince v20.2

Deprecation warning

Use animate.enter or animate.leave instead. Intent to remove in v23

AnimationDriver implentation for Noop animations

API

    
      class NoopAnimationDriver implements AnimationDriver {}
    
    

validateStyleProperty

boolean
@parampropstring
@returnsboolean

Whether prop is a valid CSS property

containsElement

boolean
@paramelm1any
@paramelm2any
@returnsboolean

Whether elm1 contains elm2.

getParentElement

unknown
@paramelementunknown
@returnsunknown

Rhe parent of the given element or null if the element is the document

query

any[]
@paramelementany
@paramselectorstring
@parammultiboolean
@returnsany[]

The result of the query selector on the element. The array will contain up to 1 item if multi is false.

computeStyle

string
@paramelementany
@parampropstring
@paramdefaultValuestring | undefined
@returnsstring

The defaultValue or empty string

animate

AnimationPlayer
@paramelementany
@paramkeyframesMap<string, string | number>[]
@paramdurationnumber
@paramdelaynumber
@parameasingstring
@parampreviousPlayersany[]
@paramscrubberAccessRequestedboolean | undefined
@returnsAnimationPlayer

An NoopAnimationPlayer

Jump to details