Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SVGUseElement

Corresponds to the element.

interface SVGUseElement extends SVGGraphicsElement, SVGURIReference {
readonly height: SVGAnimatedLength;
readonly width: SVGAnimatedLength;
readonly x: SVGAnimatedLength;
readonly y: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGUseElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var SVGUseElement: {
prototype: SVGUseElement;
new (): SVGUseElement;
}
;

§Extends

§Properties

§
readonly height: SVGAnimatedLength
[src]
§
readonly width: SVGAnimatedLength
[src]

§Methods

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