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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/paper-item/paper-icon-item-extracted.js

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 6 months 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
OLDNEW
1 1
2 2
3 (function() { 3 (function() {
4 4
5 Polymer({ 5 Polymer({
6 6
7 is: 'paper-icon-item', 7 is: 'paper-icon-item',
8 8
9 enableCustomStyleProperties: true,
10
11 hostAttributes: { 9 hostAttributes: {
12 'role': 'listitem' 10 'role': 'listitem'
13 },
14
15 properties: {
16
17 /**
18 * The width of the icon area.
19 *
20 * @attribute iconWidth
21 * @type String
22 * @default '56px'
23 */
24 iconWidth: {
25 type: String,
26 value: '56px'
27 }
28
29 },
30
31 ready: function() {
32 this.$.contentIcon.style.width = this.iconWidth;
33 } 11 }
34 12
35 }); 13 });
36 14
37 })(); 15 })();
38 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698