Triggers the active menu item.
()
| 386 | |
| 387 | /** Triggers the active menu item. */ |
| 388 | trigger() { |
| 389 | this.inputs.activeItem()?.hasPopup() |
| 390 | ? this.inputs.activeItem()?.open({first: true}) |
| 391 | : this.submit(); |
| 392 | } |
| 393 | |
| 394 | /** Submits the menu. */ |
| 395 | submit(item = this.inputs.activeItem()) { |
no test coverage detected