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