Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HTMLParamElement

deprecated

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.

interface HTMLParamElement extends HTMLElement {
name: string;
type: string;
value: string;
valueType: string;
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;
}
var HTMLParamElement: {
prototype: HTMLParamElement;
}
;

§Extends

§Properties

§
name: string
[src]

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

§
type: string
[src]

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

§
value: string
[src]

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

§
valueType: string
[src]

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