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

SVGLinearGradientElement

Corresponds to the element.

interface SVGLinearGradientElement extends SVGGradientElement {
readonly x1: SVGAnimatedLength;
readonly x2: SVGAnimatedLength;
readonly y1: SVGAnimatedLength;
readonly y2: SVGAnimatedLength;
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var SVGLinearGradientElement: {};

§Extends

§Properties

§Methods

§
addEventListener<K extends keyof SVGElementEventMap>(
type: K,
listener: (this: SVGLinearGradientElement, 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: SVGLinearGradientElement, ev: SVGElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]