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 ], | 8 ], |
8 | 9 |
9 enableCustomStyleProperties: true, | |
10 | |
11 properties: { | 10 properties: { |
12 /** | 11 /** |
13 * 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, |
14 * the icon property should not be. | 13 * the icon property should not be. |
15 */ | 14 */ |
16 src: { | 15 src: { |
17 type: String | 16 type: String |
18 }, | 17 }, |
19 | 18 |
20 /** | 19 /** |
21 * 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 |
22 * the icon's icon set. If the icon property is specified, | 21 * the icon's icon set. If the icon property is specified, |
23 * the src property should not be. | 22 * the src property should not be. |
24 */ | 23 */ |
25 icon: { | 24 icon: { |
26 type: String | 25 type: String |
27 } | 26 } |
28 } | 27 } |
29 }); | 28 }); |
OLD | NEW |