Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>HTMLDataListElement

Advanced Web Composition for Future
Latest
interface HTMLDataListElement
implements HTMLElement
import { type HTMLDataListElement } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

Provides special properties (beyond the HTMLElement object export interface it also has available to it by inheritance) to manipulate elements and their content.

Methods

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