Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/lib/types/lib.dom.d.ts>VideoTrackList

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface VideoTrackList
implements EventTarget
import { type VideoTrackList } from "https://deno.land/x/windmill@v1.298.0/node_modules/evt/lib/types/lib.dom.d.ts";

Used to represent a list of the video tracks contained within a element, with each track represented by a separate VideoTrack object in the list.

Properties

readonly
length: number
onaddtrack: ((this: VideoTrackList, ev: TrackEvent) => any) | null
onchange: ((this: VideoTrackList, ev: Event) => any) | null
onremovetrack: ((this: VideoTrackList, ev: TrackEvent) => any) | null
readonly
selectedIndex: number

Methods

getTrackById(id: string): VideoTrack | null
item(index: number): VideoTrack
addEventListener<K extends keyof VideoTrackListEventMap>(
type: K,
listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof VideoTrackListEventMap>(
type: K,
listener: (this: VideoTrackList, ev: VideoTrackListEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void