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>SVGLineElement

Deno Standard Extensions
Go to Latest
interface SVGLineElement
implements SVGGeometryElement
import { type SVGLineElement } 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.

Methods

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