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