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_icon_item`. | 3 /// Dart API for the polymer element `paper_icon_item`. |
4 @HtmlImport('paper_icon_item_nodart.html') | 4 @HtmlImport('paper_icon_item_nodart.html') |
5 library polymer_elements.lib.src.paper_item.paper_icon_item; | 5 library polymer_elements.lib.src.paper_item.paper_icon_item; |
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'; |
(...skipping 14 matching lines...) Expand all Loading... |
25 /// </paper-icon-item> | 25 /// </paper-icon-item> |
26 /// <paper-icon-item> | 26 /// <paper-icon-item> |
27 /// <div class="avatar" item-icon></div> | 27 /// <div class="avatar" item-icon></div> |
28 /// Avatar | 28 /// Avatar |
29 /// </paper-icon-item> | 29 /// </paper-icon-item> |
30 /// | 30 /// |
31 /// ### Styling | 31 /// ### Styling |
32 /// | 32 /// |
33 /// The following custom properties and mixins are available for styling: | 33 /// The following custom properties and mixins are available for styling: |
34 /// | 34 /// |
35 /// Custom property | Description | Default | 35 /// Custom property | Description
| Default |
36 /// ----------------|-------------|---------- | 36 /// ------------------------------|---------------------------------------------
---|---------- |
37 /// `--paper-item-icon-width` | Width of the icon area | `56px` | 37 /// `--paper-item-icon-width` | Width of the icon area
| `56px` |
38 /// `--paper-icon-item` | Mixin applied to the item | `{}` | 38 /// `--paper-icon-item` | Mixin applied to the item
| `{}` |
| 39 /// `--paper-item-selected-weight`| The font weight of a selected item
| `bold` |
| 40 /// `--paper-item-selected` | Mixin applied to selected paper-items
| `{}` |
| 41 /// `--paper-item-disabled-color` | The color for disabled paper-items
| `--disabled-text-color` |
| 42 /// `--paper-item-disabled` | Mixin applied to disabled paper-items
| `{}` |
| 43 /// `--paper-item-focused` | Mixin applied to focused paper-items
| `{}` |
| 44 /// `--paper-item-focused-before` | Mixin applied to :before focused paper-items
| `{}` |
39 @CustomElementProxy('paper-icon-item') | 45 @CustomElementProxy('paper-icon-item') |
40 class PaperIconItem extends HtmlElement with CustomElementProxyMixin, PolymerBas
e, IronControlState, IronA11yKeysBehavior, IronButtonState { | 46 class PaperIconItem extends HtmlElement with CustomElementProxyMixin, PolymerBas
e, IronControlState, IronA11yKeysBehavior, IronButtonState { |
41 PaperIconItem.created() : super.created(); | 47 PaperIconItem.created() : super.created(); |
42 factory PaperIconItem() => new Element.tag('paper-icon-item'); | 48 factory PaperIconItem() => new Element.tag('paper-icon-item'); |
43 } | 49 } |
OLD | NEW |