Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/lib.dom.ts>SVGTextPathElement

💧EventEmitter's typesafe replacement
Go to Latest
interface SVGTextPathElement
import { type SVGTextPathElement } from "https://deno.land/x/evt@v2.5.3/lib/types/lib.dom.ts";

Corresponds to the element.

Properties

readonly
method: SVGAnimatedEnumeration
readonly
spacing: SVGAnimatedEnumeration
readonly
startOffset: SVGAnimatedLength
readonly
TEXTPATH_METHODTYPE_ALIGN: number
readonly
TEXTPATH_METHODTYPE_STRETCH: number
readonly
TEXTPATH_METHODTYPE_UNKNOWN: number
readonly
TEXTPATH_SPACINGTYPE_AUTO: number
readonly
TEXTPATH_SPACINGTYPE_EXACT: number
readonly
TEXTPATH_SPACINGTYPE_UNKNOWN: number

Methods

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