OLD | NEW |
1 | 1 |
2 class TextTrackCue native "*TextTrackCue" { | 2 class TextTrackCue native "*TextTrackCue" { |
3 | 3 |
4 String alignment; | 4 String alignment; |
5 | 5 |
6 String direction; | 6 String direction; |
7 | 7 |
8 num endTime; | 8 num endTime; |
9 | 9 |
10 String id; | 10 String id; |
11 | 11 |
12 int linePosition; | 12 int linePosition; |
13 | 13 |
14 EventListener onenter; | 14 EventListener onenter; |
15 | 15 |
16 EventListener onexit; | 16 EventListener onexit; |
17 | 17 |
18 bool pauseOnExit; | 18 bool pauseOnExit; |
19 | 19 |
20 int size; | 20 int size; |
21 | 21 |
22 bool snapToLines; | 22 bool snapToLines; |
23 | 23 |
24 num startTime; | 24 num startTime; |
25 | 25 |
| 26 String text; |
| 27 |
26 int textPosition; | 28 int textPosition; |
27 | 29 |
28 TextTrack track; | 30 TextTrack track; |
29 | 31 |
30 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 32 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
31 | 33 |
32 bool dispatchEvent(Event evt) native; | 34 bool dispatchEvent(Event evt) native; |
33 | 35 |
34 DocumentFragment getCueAsHTML() native; | 36 DocumentFragment getCueAsHTML() native; |
35 | 37 |
36 String getCueAsSource() native; | |
37 | |
38 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 38 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
39 | 39 |
40 var dartObjectLocalStorage; | 40 var dartObjectLocalStorage; |
41 | 41 |
42 String get typeName() native; | 42 String get typeName() native; |
43 } | 43 } |
OLD | NEW |