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

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

A simple container list for multiple SourceBuffer objects.

Properties

readonly
length: number
onaddsourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null
onremovesourcebuffer: ((this: SourceBufferList, ev: Event) => any) | null

Methods

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