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>HTMLTrackElement

Deno Standard Extensions
Go to Latest
interface HTMLTrackElement
implements HTMLElement
import { type HTMLTrackElement } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

The HTMLTrackElement

Properties

default: boolean
kind: string
label: string
readonly
readyState: number
src: string
srclang: string
readonly
track: TextTrack

Returns the TextTrack object corresponding to the text track of the track element.

readonly
ERROR: number
readonly
LOADED: number
readonly
LOADING: number
readonly
NONE: number

Methods

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