| OLD | NEW |
| 1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update` | 1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update` |
| 2 | 2 |
| 3 /// Dart API for the polymer element `neon_animated_pages`. | 3 /// Dart API for the polymer element `neon_animated_pages`. |
| 4 @HtmlImport('neon_animated_pages_nodart.html') | 4 @HtmlImport('neon_animated_pages_nodart.html') |
| 5 library polymer_elements.lib.src.neon_animation.neon_animated_pages; | 5 library polymer_elements.lib.src.neon_animation.neon_animated_pages; |
| 6 | 6 |
| 7 import 'dart:html'; | 7 import 'dart:html'; |
| 8 import 'dart:js' show JsArray, JsObject; | 8 import 'dart:js' show JsArray, JsObject; |
| 9 import 'package:web_components/web_components.dart'; | 9 import 'package:web_components/web_components.dart'; |
| 10 import 'package:polymer_interop/polymer_interop.dart'; | 10 import 'package:polymer_interop/polymer_interop.dart'; |
| 11 import 'iron_resizable_behavior.dart'; | 11 import 'iron_resizable_behavior.dart'; |
| 12 import 'iron_selectable.dart'; | 12 import 'iron_selectable.dart'; |
| 13 import 'neon_animation_runner_behavior.dart'; | 13 import 'neon_animation_runner_behavior.dart'; |
| 14 import 'neon_animatable_behavior.dart'; | 14 import 'neon_animatable_behavior.dart'; |
| 15 import 'neon_animation/animations/opaque_animation.dart'; | 15 import 'neon_animation/animations/opaque_animation.dart'; |
| 16 | 16 |
| 17 /// Material design: [Meaningful transitions](https://www.google.com/design/spec
/animation/meaningful-transitions.html) |
| 18 /// |
| 17 /// `neon-animated-pages` manages a set of pages and runs an animation when swit
ching between them. Its | 19 /// `neon-animated-pages` manages a set of pages and runs an animation when swit
ching between them. Its |
| 18 /// children pages should implement `Polymer.NeonAnimatableBehavior` and define
`entry` and `exit` | 20 /// children pages should implement `Polymer.NeonAnimatableBehavior` and define
`entry` and `exit` |
| 19 /// animations to be run when switching to or switching out of the page. | 21 /// animations to be run when switching to or switching out of the page. |
| 20 @CustomElementProxy('neon-animated-pages') | 22 @CustomElementProxy('neon-animated-pages') |
| 21 class NeonAnimatedPages extends HtmlElement with CustomElementProxyMixin, Polyme
rBase, IronResizableBehavior, IronSelectableBehavior, NeonAnimatableBehavior, Ne
onAnimationRunnerBehavior { | 23 class NeonAnimatedPages extends HtmlElement with CustomElementProxyMixin, Polyme
rBase, IronResizableBehavior, IronSelectableBehavior, NeonAnimatableBehavior, Ne
onAnimationRunnerBehavior { |
| 22 NeonAnimatedPages.created() : super.created(); | 24 NeonAnimatedPages.created() : super.created(); |
| 23 factory NeonAnimatedPages() => new Element.tag('neon-animated-pages'); | 25 factory NeonAnimatedPages() => new Element.tag('neon-animated-pages'); |
| 24 | 26 |
| 25 String get activateEvent => jsElement[r'activateEvent']; | 27 String get activateEvent => jsElement[r'activateEvent']; |
| 26 set activateEvent(String value) { jsElement[r'activateEvent'] = value; } | 28 set activateEvent(String value) { jsElement[r'activateEvent'] = value; } |
| 27 | 29 |
| 28 /// if true, the initial page selection will also be animated according to its
animation config. | 30 /// if true, the initial page selection will also be animated according to its
animation config. |
| 29 bool get animateInitialSelection => jsElement[r'animateInitialSelection']; | 31 bool get animateInitialSelection => jsElement[r'animateInitialSelection']; |
| 30 set animateInitialSelection(bool value) { jsElement[r'animateInitialSelection'
] = value; } | 32 set animateInitialSelection(bool value) { jsElement[r'animateInitialSelection'
] = value; } |
| 31 } | 33 } |
| OLD | NEW |