class
abstract class AnimationDriver { static NOOP: AnimationDriver abstract validateStyleProperty(prop: string): boolean abstract matchesElement(element: any, selector: string): boolean abstract containsElement(elm1: any, elm2: any): boolean abstract query(element: any, selector: string, multi: boolean): any[] abstract computeStyle(element: any, prop: string, defaultValue?: string): string abstract animate(element: any, keyframes: { [key: string]: string | number; }[], duration: number, delay: number, easing?: string, previousPlayers?: any[], scrubberAccessRequested?: boolean): any }
Property | Description |
---|---|
static NOOP: AnimationDriver |
validateStyleProperty() | |||
---|---|---|---|
|
prop | string |
boolean
matchesElement() | ||||||
---|---|---|---|---|---|---|
|
element | any | |
selector | string |
boolean
containsElement() | ||||||
---|---|---|---|---|---|---|
|
elm1 | any | |
elm2 | any |
boolean
query() | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
element | any | |
selector | string | |
multi | boolean |
any[]
computeStyle() | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
element | any | |
prop | string | |
defaultValue | string | Optional. Default is |
string
animate() | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
element | any | |
keyframes | { [key: string]: string | number; }[] | |
duration | number | |
delay | number | |
easing | string | Optional. Default is |
previousPlayers | any[] | Optional. Default is |
scrubberAccessRequested | boolean | Optional. Default is |
any
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/animations/browser/AnimationDriver