| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName WebKitAnimation | |
| 10 interface Animation { | |
| 11 | |
| 12 static final int DIRECTION_ALTERNATE = 1; | |
| 13 | |
| 14 static final int DIRECTION_NORMAL = 0; | |
| 15 | |
| 16 static final int FILL_BACKWARDS = 1; | |
| 17 | |
| 18 static final int FILL_BOTH = 3; | |
| 19 | |
| 20 static final int FILL_FORWARDS = 2; | |
| 21 | |
| 22 static final int FILL_NONE = 0; | |
| 23 | |
| 24 /** @domName WebKitAnimation.delay */ | |
| 25 final num delay; | |
| 26 | |
| 27 /** @domName WebKitAnimation.direction */ | |
| 28 final int direction; | |
| 29 | |
| 30 /** @domName WebKitAnimation.duration */ | |
| 31 final num duration; | |
| 32 | |
| 33 /** @domName WebKitAnimation.elapsedTime */ | |
| 34 num elapsedTime; | |
| 35 | |
| 36 /** @domName WebKitAnimation.ended */ | |
| 37 final bool ended; | |
| 38 | |
| 39 /** @domName WebKitAnimation.fillMode */ | |
| 40 final int fillMode; | |
| 41 | |
| 42 /** @domName WebKitAnimation.iterationCount */ | |
| 43 final int iterationCount; | |
| 44 | |
| 45 /** @domName WebKitAnimation.name */ | |
| 46 final String name; | |
| 47 | |
| 48 /** @domName WebKitAnimation.paused */ | |
| 49 final bool paused; | |
| 50 | |
| 51 /** @domName WebKitAnimation.pause */ | |
| 52 void pause(); | |
| 53 | |
| 54 /** @domName WebKitAnimation.play */ | |
| 55 void play(); | |
| 56 } | |
| OLD | NEW |