OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2013 The Polymer Authors. All rights reserved. | 2 Copyright 2013 The Polymer Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style | 3 Use of this source code is governed by a BSD-style |
4 license that can be found in the LICENSE file. | 4 license that can be found in the LICENSE file. |
5 --> | 5 --> |
6 <!-- | 6 <!-- |
7 /** | 7 /** |
8 * @module Polymer Elements | 8 * @module Polymer Elements |
9 */ | 9 */ |
10 --> | 10 --> |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 * Toggles the selection state for `item`. | 142 * Toggles the selection state for `item`. |
143 * @method toggle | 143 * @method toggle |
144 * @param {any} item: The item to toggle. | 144 * @param {any} item: The item to toggle. |
145 */ | 145 */ |
146 toggle: function(item) { | 146 toggle: function(item) { |
147 this.setItemSelected(item, !this.isSelected(item)); | 147 this.setItemSelected(item, !this.isSelected(item)); |
148 } | 148 } |
149 }); | 149 }); |
150 </script> | 150 </script> |
151 </polymer-element> | 151 </polymer-element> |
OLD | NEW |