OLD | NEW |
1 | 1 |
2 class TextTrackListJs extends DOMTypeJs implements TextTrackList native "*TextTr
ackList" { | 2 class _TextTrackListJs extends _DOMTypeJs implements TextTrackList native "*Text
TrackList" { |
3 | 3 |
4 int get length() native "return this.length;"; | 4 int get length() native "return this.length;"; |
5 | 5 |
6 EventListener get onaddtrack() native "return this.onaddtrack;"; | 6 EventListener get onaddtrack() native "return this.onaddtrack;"; |
7 | 7 |
8 void set onaddtrack(EventListener value) native "this.onaddtrack = value;"; | 8 void set onaddtrack(EventListener value) native "this.onaddtrack = value;"; |
9 | 9 |
10 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 10 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
11 | 11 |
12 bool dispatchEvent(EventJs evt) native; | 12 bool dispatchEvent(_EventJs evt) native; |
13 | 13 |
14 TextTrackJs item(int index) native; | 14 _TextTrackJs item(int index) native; |
15 | 15 |
16 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 16 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
17 } | 17 } |
OLD | NEW |