Skip to main content
Module

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

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

Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating elements, representing a pair of a key and a value that acts as a parameter for an element.

Properties

name: string

Sets or retrieves the name of an input parameter for an element.

deprecated
type: string
value: string

Sets or retrieves the value of an input parameter for an element.

deprecated
valueType: string

Methods

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