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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 }, | 47 }, |
49 | 48 |
50 _computeContentClass: function(receivedFocusFromKeyboard) { | 49 _computeContentClass: function(receivedFocusFromKeyboard) { |
51 var className = 'content'; | 50 var className = 'content'; |
52 if (receivedFocusFromKeyboard) { | 51 if (receivedFocusFromKeyboard) { |
53 className += ' keyboard-focus'; | 52 className += ' keyboard-focus'; |
54 } | 53 } |
55 return className; | 54 return className; |
56 } | 55 } |
57 | 56 |
58 }); | 57 }); |
OLD | NEW |