Sets the default active state of the menubar before receiving interaction for the first time.
()
| 557 | |
| 558 | /** Sets the default active state of the menubar before receiving interaction for the first time. */ |
| 559 | setDefaultStateEffect(): void { |
| 560 | if (this.hasBeenInteracted()) return; |
| 561 | |
| 562 | if (this.inputs.items().length > 0) { |
| 563 | this.setDefaultState(); |
| 564 | } |
| 565 | } |
| 566 | |
| 567 | /** Handles keyboard events for the menu. */ |
| 568 | onKeydown(event: KeyboardEvent) { |
nothing calls this directly
no test coverage detected