Focuses the next menu item.
()
| 608 | |
| 609 | /** Focuses the next menu item. */ |
| 610 | next() { |
| 611 | const prevItem = this.inputs.activeItem(); |
| 612 | this.listBehavior.next(); |
| 613 | |
| 614 | if (prevItem?.expanded()) { |
| 615 | prevItem?.close(); |
| 616 | this.inputs.activeItem()?.open({first: true}); |
| 617 | } |
| 618 | } |
| 619 | |
| 620 | /** Focuses the previous menu item. */ |
| 621 | prev() { |
no test coverage detected