Sets the default state for the menubar.
()
| 549 | |
| 550 | /** Sets the default state for the menubar. */ |
| 551 | setDefaultState() { |
| 552 | const firstFocusable = this.listBehavior.navigationBehavior.peekFirst(); |
| 553 | if (firstFocusable) { |
| 554 | this.inputs.activeItem.set(firstFocusable); |
| 555 | } |
| 556 | } |
| 557 | |
| 558 | /** Sets the default active state of the menubar before receiving interaction for the first time. */ |
| 559 | setDefaultStateEffect(): void { |
no test coverage detected