* Get whether the given value is selected. * @param value The value to get the selected state of
(value: T)
| 580 | * @param value The value to get the selected state of |
| 581 | */ |
| 582 | isValueSelected(value: T) { |
| 583 | if (this._invalid) { |
| 584 | return false; |
| 585 | } |
| 586 | return this.selectionModel.isSelected(value); |
| 587 | } |
| 588 | |
| 589 | /** |
| 590 | * Registers a callback to be invoked when the listbox's value changes from user input. |