CSSAnimation
interface CSSAnimation extends Animation {
readonly animationName: string;
addEventListener<K extends keyof AnimationEventMap>(
type: K,
listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;removeEventListener<K extends keyof AnimationEventMap>(
type: K,
listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var CSSAnimation: {
prototype: CSSAnimation;
new (): CSSAnimation;
};§Methods
§
addEventListener<K extends keyof AnimationEventMap>(
[src]type: K,
listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof AnimationEventMap>(
[src]type: K,
listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void