* Handles the user pressing the forward arrow key. * @param event The keyboard event.
(event: KeyboardEvent)
| 270 | * @param event The keyboard event. |
| 271 | */ |
| 272 | private _forwardArrowPressed(event: KeyboardEvent) { |
| 273 | if (!this.hasMenu && this._menuStack.inlineMenuOrientation() === 'horizontal') { |
| 274 | event.preventDefault(); |
| 275 | this._menuStack.closeAll({ |
| 276 | focusNextOnEmpty: FocusNext.nextItem, |
| 277 | focusParentTrigger: true, |
| 278 | }); |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | /** |
| 283 | * Subscribe to the mouseenter events and close any sibling menu items if this element is moused |
no test coverage detected