Skip to main content
Module

x/evt/mod.ts>dom.SVGPatternElement

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

Corresponds to the element.

Properties

readonly
height: SVGAnimatedLength
readonly
patternContentUnits: SVGAnimatedEnumeration
readonly
patternTransform: SVGAnimatedTransformList
readonly
patternUnits: SVGAnimatedEnumeration
readonly
width: SVGAnimatedLength

Methods

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