OLD | NEW |
1 part of touch; | |
2 | |
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
4 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
5 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
6 | 4 |
7 /** | 5 /** |
8 * Common effects related helpers. | 6 * Common effects related helpers. |
9 */ | 7 */ |
10 class FxUtil { | 8 class FxUtil { |
11 /** On transition end event. */ | 9 /** On transition end event. */ |
12 static const TRANSITION_END_EVENT = 'webkitTransitionEnd'; | 10 static const TRANSITION_END_EVENT = 'webkitTransitionEnd'; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 style.left = '${x}px'; | 94 style.left = '${x}px'; |
97 style.top = '${y}px'; | 95 style.top = '${y}px'; |
98 } | 96 } |
99 } | 97 } |
100 | 98 |
101 class TransitionTimingFunction { | 99 class TransitionTimingFunction { |
102 static const EASE_IN = 'ease-in'; | 100 static const EASE_IN = 'ease-in'; |
103 static const EASE_OUT = 'ease-out'; | 101 static const EASE_OUT = 'ease-out'; |
104 static const EASE_IN_OUT = 'ease-in-out'; | 102 static const EASE_IN_OUT = 'ease-in-out'; |
105 } | 103 } |
OLD | NEW |