* This method removes display styles on the option that made it appear * active. This is used by the ActiveDescendantKeyManager so key * events will display the proper options as active on arrow key events.
()
| 215 | * events will display the proper options as active on arrow key events. |
| 216 | */ |
| 217 | setInactiveStyles(): void { |
| 218 | if (this._active) { |
| 219 | this._active = false; |
| 220 | this._changeDetectorRef.markForCheck(); |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | /** Gets the label to be used when determining whether the option should be focused. */ |
| 225 | getLabel(): string { |
nothing calls this directly
no test coverage detected