OLD | NEW |
1 | 1 |
2 class _WebKitAnimationJs extends _DOMTypeJs implements WebKitAnimation native "*
WebKitAnimation" { | 2 class _WebKitAnimationJs extends _DOMTypeJs implements WebKitAnimation native "*
WebKitAnimation" { |
3 | 3 |
4 static final int DIRECTION_ALTERNATE = 1; | 4 static final int DIRECTION_ALTERNATE = 1; |
5 | 5 |
6 static final int DIRECTION_NORMAL = 0; | 6 static final int DIRECTION_NORMAL = 0; |
7 | 7 |
8 static final int FILL_BACKWARDS = 1; | 8 static final int FILL_BACKWARDS = 1; |
9 | 9 |
10 static final int FILL_BOTH = 3; | 10 static final int FILL_BOTH = 3; |
11 | 11 |
12 static final int FILL_FORWARDS = 2; | 12 static final int FILL_FORWARDS = 2; |
13 | 13 |
14 static final int FILL_NONE = 0; | 14 static final int FILL_NONE = 0; |
15 | 15 |
16 num get delay() native "return this.delay;"; | 16 final num delay; |
17 | 17 |
18 int get direction() native "return this.direction;"; | 18 final int direction; |
19 | 19 |
20 num get duration() native "return this.duration;"; | 20 final num duration; |
21 | 21 |
22 num get elapsedTime() native "return this.elapsedTime;"; | 22 num elapsedTime; |
23 | 23 |
24 void set elapsedTime(num value) native "this.elapsedTime = value;"; | 24 final bool ended; |
25 | 25 |
26 bool get ended() native "return this.ended;"; | 26 final int fillMode; |
27 | 27 |
28 int get fillMode() native "return this.fillMode;"; | 28 final int iterationCount; |
29 | 29 |
30 int get iterationCount() native "return this.iterationCount;"; | 30 final String name; |
31 | 31 |
32 String get name() native "return this.name;"; | 32 final bool paused; |
33 | |
34 bool get paused() native "return this.paused;"; | |
35 | 33 |
36 void pause() native; | 34 void pause() native; |
37 | 35 |
38 void play() native; | 36 void play() native; |
39 } | 37 } |
OLD | NEW |