interface dom.SVGRectElement
implements SVGGeometryElement
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { SVGRectElement } = dom;
Provides access to the properties of elements, as well as methods to manipulate them.
Properties
readonly
height: SVGAnimatedLengthreadonly
rx: SVGAnimatedLengthreadonly
ry: SVGAnimatedLengthreadonly
width: SVGAnimatedLengthreadonly
x: SVGAnimatedLengthreadonly
y: SVGAnimatedLengthMethods
addEventListener<K extends keyof SVGElementEventMap>(): void
type: K,
listener: (this: SVGRectElement, 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: SVGRectElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,