| OLD | NEW |
| 1 | 1 Polymer({ |
| 2 Polymer({ | |
| 3 is: 'paper-fab', | 2 is: 'paper-fab', |
| 4 | 3 |
| 5 behaviors: [ | 4 behaviors: [ |
| 6 Polymer.PaperButtonBehavior | 5 Polymer.PaperButtonBehavior |
| 7 ], | 6 ], |
| 8 | 7 |
| 9 properties: { | 8 properties: { |
| 10 /** | 9 /** |
| 11 * The URL of an image for the icon. If the src property is specified, | 10 * The URL of an image for the icon. If the src property is specified, |
| 12 * the icon property should not be. | 11 * the icon property should not be. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 39 * | 38 * |
| 40 * @attribute mini | 39 * @attribute mini |
| 41 * @type boolean | 40 * @type boolean |
| 42 * @default false | 41 * @default false |
| 43 */ | 42 */ |
| 44 mini: { | 43 mini: { |
| 45 type: Boolean, | 44 type: Boolean, |
| 46 value: false, | 45 value: false, |
| 47 reflectToAttribute: true | 46 reflectToAttribute: true |
| 48 } | 47 } |
| 49 }, | |
| 50 | |
| 51 _computeContentClass: function(receivedFocusFromKeyboard) { | |
| 52 var className = 'content'; | |
| 53 if (receivedFocusFromKeyboard) { | |
| 54 className += ' keyboard-focus'; | |
| 55 } | |
| 56 return className; | |
| 57 } | 48 } |
| 58 | 49 |
| 59 }); | 50 }); |
| OLD | NEW |