Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventTarget
    • TextTrackList

Indexable

[index: number]: internal.TextTrack

Index

Properties

length: number
onaddtrack: null | ((this: internal.TextTrackList, ev: internal.TrackEvent) => any)
onchange: null | ((this: internal.TextTrackList, ev: Event) => any)
onremovetrack: null | ((this: internal.TextTrackList, ev: internal.TrackEvent) => any)

Methods

  • addEventListener<K>(type: K, listener: ((this: internal.TextTrackList, ev: TextTrackListEventMap[K]) => any), options?: boolean | AddEventListenerOptions): void
  • addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void
  • dispatchEvent(event: Event): boolean
  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

  • Parameters

    • id: string

    Returns null | internal.TextTrack

  • removeEventListener<K>(type: K, listener: ((this: internal.TextTrackList, ev: TextTrackListEventMap[K]) => any), options?: boolean | EventListenerOptions): void
  • removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void

Generated using TypeDoc