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

x/evt/lib/index.ts>dom.SVGMarkerElement

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.SVGMarkerElement
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/index.ts";
const { SVGMarkerElement } = dom;

Properties

readonly
markerHeight: SVGAnimatedLength
readonly
markerUnits: SVGAnimatedEnumeration
readonly
markerWidth: SVGAnimatedLength
readonly
orientAngle: SVGAnimatedAngle
readonly
orientType: SVGAnimatedEnumeration
readonly
refX: SVGAnimatedLength
readonly
refY: SVGAnimatedLength
readonly
SVG_MARKERUNITS_STROKEWIDTH: number
readonly
SVG_MARKERUNITS_UNKNOWN: number
readonly
SVG_MARKERUNITS_USERSPACEONUSE: number
readonly
SVG_MARKER_ORIENT_ANGLE: number
readonly
SVG_MARKER_ORIENT_AUTO: number
readonly
SVG_MARKER_ORIENT_UNKNOWN: number

Methods

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