interface dom.SourceBufferList
implements EventTarget
import { type dom } from "https://deno.land/x/evt@v2.4.8/mod.ts";
const { SourceBufferList } = dom;
A simple container list for multiple SourceBuffer objects.
Index Signatures
index: number]: SourceBuffer
[Properties
onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
Methods
addEventListener<K extends keyof SourceBufferListEventMap>(): void
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof SourceBufferListEventMap>(): void
type: K,
listener: (this: SourceBufferList, ev: SourceBufferListEventMap[K]) => any,
options?: boolean | EventListenerOptions,