OLD | NEW |
1 | 1 |
2 Polymer({ | 2 Polymer({ |
3 is: 'paper-icon-button', | 3 is: 'paper-icon-button', |
4 | 4 |
5 behaviors: [ | 5 behaviors: [ |
6 Polymer.PaperButtonBehavior, | 6 Polymer.PaperButtonBehavior, |
7 Polymer.PaperRadioButtonBehavior | 7 Polymer.PaperRadioButtonBehavior |
8 ], | 8 ], |
9 | 9 |
10 properties: { | 10 properties: { |
11 /** | 11 /** |
12 * The URL of an image for the icon. If the src property is specified, | 12 * The URL of an image for the icon. If the src property is specified, |
13 * the icon property should not be. | 13 * the icon property should not be. |
14 */ | 14 */ |
15 src: { | 15 src: { |
16 type: String | 16 type: String |
17 }, | 17 }, |
18 | 18 |
19 /** | 19 /** |
20 * Specifies the icon name or index in the set of icons available in | 20 * Specifies the icon name or index in the set of icons available in |
21 * the icon's icon set. If the icon property is specified, | 21 * the icon's icon set. If the icon property is specified, |
22 * the src property should not be. | 22 * the src property should not be. |
23 */ | 23 */ |
24 icon: { | 24 icon: { |
25 type: String | 25 type: String |
26 } | 26 } |
27 } | 27 } |
28 }); | 28 }); |
OLD | NEW |