interface dom.SVGSwitchElement
implements SVGGraphicsElement
import { type dom } from "https://deno.land/x/evt@v2.4.13/mod.ts";
const { SVGSwitchElement } = dom;
Corresponds to the element.
Methods
addEventListener<K extends keyof SVGElementEventMap>(): void
type: K,
listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof SVGElementEventMap>(): void
type: K,
listener: (this: SVGSwitchElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,