AnimationDriver
From Get docs
< @angular/animations | browserAngular/docs/7/api/animations/browser/animationdriver
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: { [key: string]: string | number; }[], duration: number, delay: number, easing?: string, previousPlayers?: any[], scrubberAccessRequested?: boolean): any
}
Static properties
Property | Description |
---|---|
static NOOP: AnimationDriver
|
Methods
validateStyleProperty() | |||
---|---|---|---|
abstract validateStyleProperty(prop: string): booleanParameters
Returns
|
matchesElement() | ||||||
---|---|---|---|---|---|---|
abstract matchesElement(element: any, selector: string): booleanParameters
Returns
|
containsElement() | ||||||
---|---|---|---|---|---|---|
abstract containsElement(elm1: any, elm2: any): booleanParameters
Returns
|
query() | |||||||||
---|---|---|---|---|---|---|---|---|---|
abstract query(element: any, selector: string, multi: boolean): any[]Parameters
Returns
|
computeStyle() | |||||||||
---|---|---|---|---|---|---|---|---|---|
abstract computeStyle(element: any, prop: string, defaultValue?: string): stringParameters
Returns
|
animate() | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
abstract animate(element: any, keyframes: { [key: string]: string | number; }[], duration: number, delay: number, easing?: string, previousPlayers?: any[], scrubberAccessRequested?: boolean): anyParameters
Returns
|
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/animations/browser/AnimationDriver