OLD | NEW |
1 | 1 Polymer({ |
2 | 2 |
3 Polymer({ | |
4 | |
5 is: 'paper-button', | 3 is: 'paper-button', |
6 | 4 |
7 behaviors: [ | 5 behaviors: [ |
8 Polymer.PaperButtonBehavior | 6 Polymer.PaperButtonBehavior |
9 ], | 7 ], |
10 | 8 |
11 properties: { | 9 properties: { |
12 | 10 |
13 /** | 11 /** |
14 * If true, the button should be styled with a shadow. | 12 * If true, the button should be styled with a shadow. |
(...skipping 14 matching lines...) Expand all Loading... |
29 } | 27 } |
30 }, | 28 }, |
31 | 29 |
32 _computeContentClass: function(receivedFocusFromKeyboard) { | 30 _computeContentClass: function(receivedFocusFromKeyboard) { |
33 var className = 'content '; | 31 var className = 'content '; |
34 if (receivedFocusFromKeyboard) { | 32 if (receivedFocusFromKeyboard) { |
35 className += ' keyboard-focus'; | 33 className += ' keyboard-focus'; |
36 } | 34 } |
37 return className; | 35 return className; |
38 } | 36 } |
39 }); | 37 }); |
40 | |
OLD | NEW |