Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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,
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,
options?: boolean | EventListenerOptions,
): void;
}
var CSSAnimation: {
prototype: CSSAnimation;
new (): CSSAnimation;
}
;

§Extends

§Properties

§
readonly animationName: string
[src]

§Methods

§
addEventListener<K extends keyof AnimationEventMap>(
type: K,
listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
removeEventListener<K extends keyof AnimationEventMap>(
type: K,
listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]