Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/evt/lib/index.ts>dom.SVGDefsElement

💧EventEmitter's typesafe replacement
Latest
interface dom.SVGDefsElement
implements SVGGraphicsElement
import { type dom } from "https://deno.land/x/evt@v2.5.7/lib/index.ts";
const { SVGDefsElement } = dom;

Corresponds to the element.

Methods

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