Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: lib/paper_icon_item.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/paper_icon_button.dart ('k') | lib/paper_inky_focus_behavior.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « lib/paper_icon_button.dart ('k') | lib/paper_inky_focus_behavior.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698