1 /** @polymerBehavior */
2 Polymer
.PaperButtonBehaviorImpl
= {
13 '_calculateElevation(focused, disabled, active, pressed, receivedFocusFromKeyboard)'
21 _calculateElevation: function() {
25 } else if (this.active
|| this.pressed
) {
27 } else if (this.receivedFocusFromKeyboard
) {
34 /** @polymerBehavior */
35 Polymer
.PaperButtonBehavior
= [
36 Polymer
.IronButtonState
,
37 Polymer
.IronControlState
,
38 Polymer
.PaperButtonBehaviorImpl