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