Skip to main content
Module

x/evt/lib/types/lib.dom.ts>SVGGraphicsElement

💧EventEmitter's typesafe replacement
Go to Latest
interface SVGGraphicsElement
implements SVGElement, SVGTests
import { type SVGGraphicsElement } from "https://deno.land/x/evt@v2.4.13/lib/types/lib.dom.ts";

SVG elements whose primary purpose is to directly render graphics into a group.

Methods

getBBox(options?: SVGBoundingBoxOptions): DOMRect
getCTM(): DOMMatrix | null
getScreenCTM(): DOMMatrix | null
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGGraphicsElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void