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