2017-02-28 20:49:37 -05:00
|
|
|
/** @experimental */
|
|
|
|
export declare abstract class AnimationDriver {
|
|
|
|
abstract animate(element: any, keyframes: {
|
|
|
|
[key: string]: string | number;
|
2017-03-24 12:56:34 -04:00
|
|
|
}[], duration: number, delay: number, easing?: string | null, previousPlayers?: any[]): any;
|
2017-04-26 13:44:28 -04:00
|
|
|
abstract computeStyle(element: any, prop: string, defaultValue?: string): string;
|
2017-05-02 18:45:48 -04:00
|
|
|
abstract containsElement(elm1: any, elm2: any): boolean;
|
|
|
|
abstract matchesElement(element: any, selector: string): boolean;
|
|
|
|
abstract query(element: any, selector: string, multi: boolean): any[];
|
2017-02-28 20:49:37 -05:00
|
|
|
static NOOP: AnimationDriver;
|
|
|
|
}
|