OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 3 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
6 Code distributed by Google as part of the polymer project is also | 6 Code distributed by Google as part of the polymer project is also |
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
8 --> | 8 --> |
9 <!-- | 9 <!-- |
10 @group Polymer Core Elements | 10 @group Polymer Core Elements |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 * Toggles the selection state for `item`. | 140 * Toggles the selection state for `item`. |
141 * @method toggle | 141 * @method toggle |
142 * @param {any} item: The item to toggle. | 142 * @param {any} item: The item to toggle. |
143 */ | 143 */ |
144 toggle: function(item) { | 144 toggle: function(item) { |
145 this.setItemSelected(item, !this.isSelected(item)); | 145 this.setItemSelected(item, !this.isSelected(item)); |
146 } | 146 } |
147 }); | 147 }); |
148 </script> | 148 </script> |
149 </polymer-element> | 149 </polymer-element> |
OLD | NEW |