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 `paper_button_behavior`. | 3 /// Dart API for the polymer element `paper_button_behavior`. |
4 @HtmlImport('paper_button_behavior_nodart.html') | 4 @HtmlImport('paper_button_behavior_nodart.html') |
5 library polymer_elements.lib.src.paper_behaviors.paper_button_behavior; | 5 library polymer_elements.lib.src.paper_behaviors.paper_button_behavior; |
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_button_state.dart'; | 11 import 'iron_button_state.dart'; |
12 import 'iron_a11y_keys_behavior.dart'; | 12 import 'iron_a11y_keys_behavior.dart'; |
13 import 'iron_control_state.dart'; | 13 import 'iron_control_state.dart'; |
| 14 import 'paper_ripple_behavior.dart'; |
14 | 15 |
15 | 16 |
16 @BehaviorProxy(const ['Polymer', 'PaperButtonBehavior']) | 17 @BehaviorProxy(const ['Polymer', 'PaperButtonBehavior']) |
17 abstract class PaperButtonBehavior implements CustomElementProxyMixin, IronButto
nState, IronControlState { | 18 abstract class PaperButtonBehavior implements CustomElementProxyMixin, IronButto
nState, IronControlState, PaperRippleBehavior { |
| 19 |
| 20 /// The z-depth of this element, from 0-5. Setting to 0 will remove the |
| 21 /// shadow, and each increasing number greater than 0 will be "deeper" |
| 22 /// than the last. |
| 23 num get elevation => jsElement[r'elevation']; |
| 24 set elevation(num value) { jsElement[r'elevation'] = value; } |
18 } | 25 } |
OLD | NEW |