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

SVGSwitchElement

Corresponds to the element.

interface SVGSwitchElement extends SVGGraphicsElement {
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var SVGSwitchElement: {
prototype: SVGSwitchElement;
}
;

§Extends

§Methods

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