ladybird/Libraries/LibWeb/HTML/AudioTrackList.idl

15 lines
474 B
Text

#import <DOM/EventHandler.idl>
#import <DOM/EventTarget.idl>
#import <HTML/AudioTrack.idl>
// https://html.spec.whatwg.org/multipage/media.html#audiotracklist
[Exposed=Window]
interface AudioTrackList : EventTarget {
readonly attribute unsigned long length;
getter AudioTrack (unsigned long index);
AudioTrack? getTrackById(DOMString id);
attribute EventHandler onchange;
attribute EventHandler onaddtrack;
attribute EventHandler onremovetrack;
};