(...values: T[])
| 73 | } |
| 74 | |
| 75 | override select(...values: T[]) { |
| 76 | // The super class is always in multi-selection mode, so we need to override the behavior if |
| 77 | // this selection model actually belongs to a single-selection listbox. |
| 78 | if (this.multiple) { |
| 79 | return super.select(...values); |
| 80 | } else { |
| 81 | return super.setSelection(...values); |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | /** A selectable option in a listbox. */ |
nothing calls this directly
no test coverage detected