Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.SVGRadialGradientElement

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.SVGRadialGradientElement
implements SVGGradientElement
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { SVGRadialGradientElement } = dom;

Corresponds to the element.

Methods

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