OLD | NEW |
1 | 1 |
2 class _TextTrackCueJs extends _DOMTypeJs implements TextTrackCue native "*TextTr
ackCue" { | 2 class _TextTrackCueJs extends _DOMTypeJs implements TextTrackCue native "*TextTr
ackCue" { |
3 | 3 |
4 String alignment; | 4 String align; |
5 | |
6 String direction; | |
7 | 5 |
8 num endTime; | 6 num endTime; |
9 | 7 |
10 String id; | 8 String id; |
11 | 9 |
12 int linePosition; | 10 int line; |
13 | 11 |
14 EventListener onenter; | 12 EventListener onenter; |
15 | 13 |
16 EventListener onexit; | 14 EventListener onexit; |
17 | 15 |
18 bool pauseOnExit; | 16 bool pauseOnExit; |
19 | 17 |
| 18 int position; |
| 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; | 26 String text; |
27 | 27 |
28 int textPosition; | 28 final _TextTrackJs track; |
29 | 29 |
30 final _TextTrackJs track; | 30 String vertical; |
31 | 31 |
32 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 32 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
33 | 33 |
34 bool dispatchEvent(_EventJs evt) native; | 34 bool dispatchEvent(_EventJs evt) native; |
35 | 35 |
36 _DocumentFragmentJs getCueAsHTML() native; | 36 _DocumentFragmentJs getCueAsHTML() native; |
37 | 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 } |
OLD | NEW |