()
| 245 | readonly inertGroups: boolean; |
| 246 | |
| 247 | constructor() { |
| 248 | const platform = inject(Platform); |
| 249 | |
| 250 | // TODO(crisbeto): the problem that the `inertGroups` option resolves is only present on |
| 251 | // Safari using VoiceOver. We should occasionally check back to see whether the bug |
| 252 | // wasn't resolved in VoiceOver, and if it has, we can remove this and the `inertGroups` |
| 253 | // option altogether. |
| 254 | this.inertGroups = platform?.SAFARI || false; |
| 255 | this.autoActiveFirstOption = !!this._defaults.autoActiveFirstOption; |
| 256 | this.autoSelectActiveOption = !!this._defaults.autoSelectActiveOption; |
| 257 | this.requireSelection = !!this._defaults.requireSelection; |
| 258 | this._hideSingleSelectionIndicator = this._defaults.hideSingleSelectionIndicator ?? false; |
| 259 | } |
| 260 | |
| 261 | ngAfterContentInit() { |
| 262 | this._keyManager = new ActiveDescendantKeyManager<MatOption>(this.options) |
nothing calls this directly
no outgoing calls
no test coverage detected