| OLD | NEW |
| 1 /** | 1 |
| 2 |
| 3 /** |
| 2 * `Polymer.PaperInkyFocusBehavior` implements a ripple when the element has k
eyboard focus. | 4 * `Polymer.PaperInkyFocusBehavior` implements a ripple when the element has k
eyboard focus. |
| 3 * | 5 * |
| 4 * @polymerBehavior Polymer.PaperInkyFocusBehavior | 6 * @polymerBehavior Polymer.PaperInkyFocusBehavior |
| 5 */ | 7 */ |
| 6 Polymer.PaperInkyFocusBehaviorImpl = { | 8 Polymer.PaperInkyFocusBehaviorImpl = { |
| 7 | 9 |
| 8 observers: [ | 10 observers: [ |
| 9 '_focusedChanged(receivedFocusFromKeyboard)' | 11 '_focusedChanged(receivedFocusFromKeyboard)' |
| 10 ], | 12 ], |
| 11 | 13 |
| 12 _focusedChanged: function(receivedFocusFromKeyboard) { | 14 _focusedChanged: function(receivedFocusFromKeyboard) { |
| 13 if (!this.$.ink) { | 15 if (!this.$.ink) { |
| 14 return; | 16 return; |
| 15 } | 17 } |
| 16 | 18 |
| 17 this.$.ink.holdDown = receivedFocusFromKeyboard; | 19 this.$.ink.holdDown = receivedFocusFromKeyboard; |
| 18 } | 20 } |
| 19 | 21 |
| 20 }; | 22 }; |
| 21 | 23 |
| 22 /** @polymerBehavior Polymer.PaperInkyFocusBehavior */ | 24 /** @polymerBehavior Polymer.PaperInkyFocusBehavior */ |
| 23 Polymer.PaperInkyFocusBehavior = [ | 25 Polymer.PaperInkyFocusBehavior = [ |
| 24 Polymer.IronButtonState, | 26 Polymer.IronButtonState, |
| 25 Polymer.IronControlState, | 27 Polymer.IronControlState, |
| 26 Polymer.PaperInkyFocusBehaviorImpl | 28 Polymer.PaperInkyFocusBehaviorImpl |
| 27 ]; | 29 ]; |
| 30 |
| OLD | NEW |