Triggers the active menu item.
()
| 402 | |
| 403 | /** Triggers the active menu item. */ |
| 404 | trigger() { |
| 405 | this.inputs.activeItem()?.hasPopup() |
| 406 | ? this.inputs.activeItem()?.open({first: true}) |
| 407 | : this.submit(); |
| 408 | } |
| 409 | |
| 410 | /** Submits the menu. */ |
| 411 | submit(item = this.inputs.activeItem()) { |
no test coverage detected