MCPcopy Create free account
hub / github.com/angular/components / next

Method next

src/aria/private/menu/menu.ts:367–370  ·  view source on GitHub ↗

Focuses the next menu item.

()

Source from the content-addressed store, hash-verified

365
366 /** Focuses the next menu item. */
367 next() {
368 this.inputs.activeItem()?.close();
369 this.listBehavior.next();
370 }
371
372 /** Focuses the first menu item. */
373 first() {

Callers 9

MenuPatternClass · 0.95
ToolbarPatternClass · 0.45
_groupNextMethod · 0.45
expandMethod · 0.45
nextMethod · 0.45
ListboxPatternClass · 0.45
TabListPatternClass · 0.45
TreePatternClass · 0.45

Calls 2

activeItemMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected