Module

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

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

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