mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
a09b52e40f
(cherry picked from commit ecad28657a0941c99870bdb72f3a6f09b6db6ee3)
13 lines
409 B
Text
13 lines
409 B
Text
#import <DOM/EventTarget.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/media.html#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;
|
|
};
|