OLD | NEW |
1 | 1 |
2 | 2 |
3 /** @polymerBehavior */ | 3 /** @polymerBehavior */ |
4 Polymer.PaperRadioButtonInk = { | 4 Polymer.PaperRadioButtonInk = { |
5 | 5 |
6 observers: [ | 6 observers: [ |
7 '_focusedChanged(receivedFocusFromKeyboard)' | 7 '_focusedChanged(receivedFocusFromKeyboard)' |
8 ], | 8 ], |
9 | 9 |
10 _focusedChanged: function(receivedFocusFromKeyboard) { | 10 _focusedChanged: function(receivedFocusFromKeyboard) { |
11 if (!this.$.ink) { | 11 if (!this.$.ink) { |
12 return; | 12 return; |
13 } | 13 } |
14 | 14 |
15 this.$.ink.holdDown = receivedFocusFromKeyboard; | 15 this.$.ink.holdDown = receivedFocusFromKeyboard; |
16 } | 16 } |
17 | 17 |
18 }; | 18 }; |
19 | 19 |
20 /** @polymerBehavior */ | 20 /** @polymerBehavior */ |
21 Polymer.PaperRadioButtonBehavior = [ | 21 Polymer.PaperRadioButtonBehavior = [ |
22 Polymer.IronButtonState, | 22 Polymer.IronButtonState, |
23 Polymer.IronControlState, | 23 Polymer.IronControlState, |
24 Polymer.PaperRadioButtonInk | 24 Polymer.PaperRadioButtonInk |
25 ]; | 25 ]; |
26 | 26 |
OLD | NEW |