interface HTMLDataListElement
implements HTMLElement
import { type HTMLDataListElement } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";
Provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate elements and their content.
Properties
readonly
options: HTMLCollectionOf<HTMLOptionElement>Returns an HTMLCollection of the option elements of the datalist element.
Methods
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,