Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/lib.dom.ts>DataCue

💧EventEmitter's typesafe replacement
Go to Latest
interface DataCue
implements TextTrackCue
import { type DataCue } from "https://deno.land/x/evt@v2.4.19/lib/types/lib.dom.ts";

Properties

data: ArrayBuffer

Methods

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