On this page
AnimationDriver
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: {...}, duration: number, delay: number, easing?: string | null, previousPlayers?: any[], scrubberAccessRequested?: boolean): any
}
Subclasses
Static properties
Methods
validateStyleProperty()
|
||
---|---|---|
|
prop | Type: |
Returns
boolean
matchesElement()
|
||||
---|---|---|---|---|
|
element | Type: |
selector | Type: |
Returns
boolean
containsElement()
|
||||
---|---|---|---|---|
|
elm1 | Type: |
elm2 | Type: |
Returns
boolean
query()
|
||||||
---|---|---|---|---|---|---|
|
element | Type: |
selector | Type: |
multi | Type: |
Returns
any[]
computeStyle()
|
||||||
---|---|---|---|---|---|---|
|
element | Type: |
prop | Type: |
defaultValue | Type: Optional. Default is |
Returns
string
animate()
|
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
element | Type: |
keyframes | Type: |
duration | Type: |
delay | Type: |
easing | Type: Optional. Default is |
previousPlayers | Type: Optional. Default is |
scrubberAccessRequested | Type: Optional. Default is |
Returns
any
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/animations/browser/AnimationDriver