Selects the option.
(emitEvent = true)
| 164 | |
| 165 | /** Selects the option. */ |
| 166 | select(emitEvent = true): void { |
| 167 | if (!this._selected) { |
| 168 | this._selected = true; |
| 169 | this._changeDetectorRef.markForCheck(); |
| 170 | |
| 171 | if (emitEvent) { |
| 172 | this._emitSelectionChangeEvent(); |
| 173 | } |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | /** Deselects the option. */ |
| 178 | deselect(emitEvent = true): void { |
nothing calls this directly
no test coverage detected