NoopAnimationDriver
Class
deprecatedsince v20.2
Deprecation warning
validateStyleProperty
boolean@paramprop
string@returns
booleanWhether prop is a valid CSS property
containsElement
boolean@paramelm1
any@paramelm2
any@returns
booleanWhether elm1 contains elm2.
getParentElement
unknown@paramelement
unknown@returns
unknownRhe parent of the given element or null if the element is the document
query
any[]@paramelement
any@paramselector
string@parammulti
boolean@returns
any[]The result of the query selector on the element. The array will contain up to 1 item
if multi is false.
computeStyle
string@paramelement
any@paramprop
string@paramdefaultValue
string | undefined@returns
stringThe defaultValue or empty string
animate
AnimationPlayer@paramelement
any@paramkeyframes
Map<string, string | number>[]@paramduration
number@paramdelay
number@parameasing
string@parampreviousPlayers
any[]@paramscrubberAccessRequested
boolean | undefined@returns
AnimationPlayerAn NoopAnimationPlayer
Jump to details