SVGAnimationElement
interface SVGAnimationElement extends SVGElement, SVGTests {
readonly targetElement: SVGElement | null;
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;beginElement(): void;
beginElementAt(offset: number): void;
endElement(): void;
endElementAt(offset: number): void;
getCurrentTime(): number;
getSimpleDuration(): number;
getStartTime(): number;
removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var SVGAnimationElement: {
prototype: SVGAnimationElement;
new (): SVGAnimationElement;
};§Properties
§
readonly targetElement: SVGElement | null
[src]§Methods
§
addEventListener<K extends keyof SVGElementEventMap>(
[src]type: K,
listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof SVGElementEventMap>(
[src]type: K,
listener: (this: SVGAnimationElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void