Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.SVGTextPathElement
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { SVGTextPathElement } = dom;

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