| OLD | NEW |
| 1 | 1 |
| 2 Polymer({ | 2 Polymer({ |
| 3 is: 'paper-icon-button', | 3 is: 'paper-fab', |
| 4 |
| 5 enableCustomStyleProperties: true, |
| 4 | 6 |
| 5 behaviors: [ | 7 behaviors: [ |
| 6 Polymer.PaperButtonBehavior | 8 Polymer.PaperButtonBehavior |
| 7 ], | 9 ], |
| 8 | 10 |
| 9 enableCustomStyleProperties: true, | |
| 10 | |
| 11 properties: { | 11 properties: { |
| 12 /** | 12 /** |
| 13 * The URL of an image for the icon. If the src property is specified, | 13 * The URL of an image for the icon. If the src property is specified, |
| 14 * the icon property should not be. | 14 * the icon property should not be. |
| 15 * |
| 16 * @attribute src |
| 17 * @type string |
| 18 * @default '' |
| 15 */ | 19 */ |
| 16 src: { | 20 src: { |
| 17 type: String | 21 type: String, |
| 22 value: '' |
| 18 }, | 23 }, |
| 19 | 24 |
| 20 /** | 25 /** |
| 21 * Specifies the icon name or index in the set of icons available in | 26 * 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, | 27 * the icon's icon set. If the icon property is specified, |
| 23 * the src property should not be. | 28 * the src property should not be. |
| 29 * |
| 30 * @attribute icon |
| 31 * @type string |
| 32 * @default '' |
| 24 */ | 33 */ |
| 25 icon: { | 34 icon: { |
| 26 type: String | 35 type: String, |
| 36 value: '' |
| 37 }, |
| 38 |
| 39 /** |
| 40 * Set this to true to style this is a "mini" FAB. |
| 41 * |
| 42 * @attribute mini |
| 43 * @type boolean |
| 44 * @default false |
| 45 */ |
| 46 mini: { |
| 47 type: Boolean, |
| 48 value: false |
| 27 } | 49 } |
| 28 } | 50 } |
| 29 }); | 51 }); |
| OLD | NEW |