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

x/yxz/typing/lib.dom.ts>SVGRectElement

Deno Standard Extensions
Go to Latest
interface SVGRectElement
implements SVGGeometryElement
import { type SVGRectElement } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

Provides access to the properties of elements, as well as methods to manipulate them.

Properties

readonly
height: SVGAnimatedLength
readonly
rx: SVGAnimatedLength
readonly
ry: SVGAnimatedLength
readonly
width: SVGAnimatedLength

Methods

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