WebIDLpedia

TextTrackList interface

Definition

HTML Standard defines TextTrackList



[Exposed=Window]
interface TextTrackList : EventTarget {
  readonly attribute unsigned long length;
  getter TextTrack (unsigned long index);
  TextTrack? getTrackById(DOMString id);

  attribute EventHandler onchange;
  attribute EventHandler onaddtrack;
  attribute EventHandler onremovetrack;
};

Methods and attributes that return objects implementing TextTrackList

Referring IDL interfaces/dictionaries

Referring specifications