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