OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. All rights reserved. | 2 * Copyright 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style | 4 * Use of this source code is governed by a BSD-style |
5 * license that can be found in the LICENSE file or at | 5 * license that can be found in the LICENSE file or at |
6 * https://developers.google.com/open-source/licenses/bsd | 6 * https://developers.google.com/open-source/licenses/bsd |
7 */ | 7 */ |
8 library charted.selection.transition; | 8 library charted.selection.transition; |
9 | 9 |
10 import "dart:html" show Element, document; | 10 import "dart:html" show Element; |
11 import "package:charted/core/timer.dart"; | 11 import "package:charted/core/timer.dart"; |
12 import "package:charted/selection/selection.dart"; | 12 import "package:charted/selection/selection.dart"; |
13 import "package:charted/core/interpolators.dart"; | 13 import "package:charted/core/interpolators.dart"; |
14 | 14 |
15 part 'src/transition_impl.dart'; | 15 part 'src/transition_impl.dart'; |
16 | 16 |
17 typedef Interpolator AttrTweenCallback(datum, int ei, String attr); | 17 typedef Interpolator AttrTweenCallback(datum, int ei, String attr); |
18 typedef Interpolator StyleTweenCallback(datum, int ei, String style); | 18 typedef Interpolator StyleTweenCallback(datum, int ei, String style); |
19 | 19 |
20 /** | 20 /** |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 /** | 162 /** |
163 * Removes all selected elements from the DOM at the end of the transition. | 163 * Removes all selected elements from the DOM at the end of the transition. |
164 * If any of the selected elements have another transition scheduled when | 164 * If any of the selected elements have another transition scheduled when |
165 * this transition ends, said elements will not be removed. | 165 * this transition ends, said elements will not be removed. |
166 */ | 166 */ |
167 void remove(); | 167 void remove(); |
168 | 168 |
169 /** Factory method to create an instance of the default implementation */ | 169 /** Factory method to create an instance of the default implementation */ |
170 factory Transition(Selection selection) => new _TransitionImpl(selection); | 170 factory Transition(Selection selection) => new _TransitionImpl(selection); |
171 } | 171 } |
OLD | NEW |