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

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

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

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

Properties

readonly
transform: SVGAnimatedTransformList

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