Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yxz/typing/lib.dom.ts>HTMLParamElement

Deno Standard Extensions
Go to Latest
interface HTMLParamElement
implements HTMLElement
import { type HTMLParamElement } from "https://deno.land/x/yxz@0.17.0/typing/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

Sets or retrieves the content type of the resource designated by the value attribute.

value: string

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

deprecated
valueType: string

Sets or retrieves the data type of the value attribute.

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