interface HTMLAudioElement
implements HTMLMediaElement
import { type HTMLAudioElement } from "https://deno.land/x/evt@v2.4.7/lib/types/lib.dom.ts";
Provides access to the properties of elements, as well as methods to manipulate them. It derives from the HTMLMediaElement interface.
Methods
addEventListener<K extends keyof HTMLMediaElementEventMap>(): void
type: K,
listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof HTMLMediaElementEventMap>(): void
type: K,
listener: (this: HTMLAudioElement, ev: HTMLMediaElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,