OLD | NEW |
1 | 1 |
2 Polymer({ | 2 Polymer({ |
3 is: 'paper-radio-button', | 3 is: 'paper-radio-button', |
4 | 4 |
5 behaviors: [ | 5 behaviors: [ |
6 Polymer.PaperRadioButtonBehavior | 6 Polymer.PaperRadioButtonBehavior |
7 ], | 7 ], |
8 | 8 |
9 hostAttributes: { | 9 hostAttributes: { |
10 role: 'radio', | 10 role: 'radio', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 } | 65 } |
66 }, | 66 }, |
67 | 67 |
68 _checkedChanged: function() { | 68 _checkedChanged: function() { |
69 this.setAttribute('aria-checked', this.checked ? 'true' : 'false'); | 69 this.setAttribute('aria-checked', this.checked ? 'true' : 'false'); |
70 this.active = this.checked; | 70 this.active = this.checked; |
71 this.fire('iron-change'); | 71 this.fire('iron-change'); |
72 } | 72 } |
73 }) | 73 }) |
74 | 74 |
OLD | NEW |