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

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

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

Correspond to the basic data type.

Properties

readonly
unitType: number
value: number
valueAsString: string
valueInSpecifiedUnits: number
readonly
SVG_LENGTHTYPE_CM: number
readonly
SVG_LENGTHTYPE_EMS: number
readonly
SVG_LENGTHTYPE_EXS: number
readonly
SVG_LENGTHTYPE_IN: number
readonly
SVG_LENGTHTYPE_MM: number
readonly
SVG_LENGTHTYPE_NUMBER: number
readonly
SVG_LENGTHTYPE_PC: number
readonly
SVG_LENGTHTYPE_PERCENTAGE: number
readonly
SVG_LENGTHTYPE_PT: number
readonly
SVG_LENGTHTYPE_PX: number
readonly
SVG_LENGTHTYPE_UNKNOWN: number

Methods

convertToSpecifiedUnits(unitType: number): void
newValueSpecifiedUnits(unitType: number, valueInSpecifiedUnits: number): void