| OLD | NEW |
| 1 /** @polymerBehavior Polymer.IronMultiSelectableBehavior */ | 1 /** @polymerBehavior Polymer.IronMultiSelectableBehavior */ |
| 2 Polymer.IronMultiSelectableBehaviorImpl = { | 2 Polymer.IronMultiSelectableBehaviorImpl = { |
| 3 properties: { | 3 properties: { |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * If true, multiple selections are allowed. | 6 * If true, multiple selections are allowed. |
| 7 */ | 7 */ |
| 8 multi: { | 8 multi: { |
| 9 type: Boolean, | 9 type: Boolean, |
| 10 value: false, | 10 value: false, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 */ | 25 */ |
| 26 selectedItems: { | 26 selectedItems: { |
| 27 type: Array, | 27 type: Array, |
| 28 readOnly: true, | 28 readOnly: true, |
| 29 notify: true | 29 notify: true |
| 30 }, | 30 }, |
| 31 | 31 |
| 32 }, | 32 }, |
| 33 | 33 |
| 34 observers: [ | 34 observers: [ |
| 35 '_updateSelected(selectedValues)' | 35 '_updateSelected(selectedValues.splices)' |
| 36 ], | 36 ], |
| 37 | 37 |
| 38 /** | 38 /** |
| 39 * Selects the given value. If the `multi` property is true, then the select
ed state of the | 39 * Selects the given value. If the `multi` property is true, then the select
ed state of the |
| 40 * `value` will be toggled; otherwise the `value` will be selected. | 40 * `value` will be toggled; otherwise the `value` will be selected. |
| 41 * | 41 * |
| 42 * @method select | 42 * @method select |
| 43 * @param {string|number} value the value to select. | 43 * @param {string|number} value the value to select. |
| 44 */ | 44 */ |
| 45 select: function(value) { | 45 select: function(value) { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 return this._valueToItem(value); | 123 return this._valueToItem(value); |
| 124 }, this); | 124 }, this); |
| 125 } | 125 } |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 /** @polymerBehavior */ | 128 /** @polymerBehavior */ |
| 129 Polymer.IronMultiSelectableBehavior = [ | 129 Polymer.IronMultiSelectableBehavior = [ |
| 130 Polymer.IronSelectableBehavior, | 130 Polymer.IronSelectableBehavior, |
| 131 Polymer.IronMultiSelectableBehaviorImpl | 131 Polymer.IronMultiSelectableBehaviorImpl |
| 132 ]; | 132 ]; |
| OLD | NEW |