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

Method next

src/aria/private/menu/menu.ts:386–389  ·  view source on GitHub ↗

Focuses the next menu item.

()

Source from the content-addressed store, hash-verified

384
385 /** Focuses the next menu item. */
386 next() {
387 this.inputs.activeItem()?.close();
388 this.listBehavior.next();
389 }
390
391 /** Focuses the first menu item. */
392 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