MCPcopy Index your code
hub / github.com/angular/components / focusFirstItem

Method focusFirstItem

src/cdk/menu/menu-interface.ts:28–28  ·  view source on GitHub ↗

Place focus on the first MenuItem in the menu.

(focusOrigin: FocusOrigin)

Source from the content-addressed store, hash-verified

26
27 /** Place focus on the first MenuItem in the menu. */
28 focusFirstItem(focusOrigin: FocusOrigin): void;
29
30 /** Place focus on the last MenuItem in the menu. */
31 focusLastItem(focusOrigin: FocusOrigin): void;

Callers 6

_openMenuFunction · 0.65
menu.spec.tsFile · 0.65
_openOnContextMenuMethod · 0.65
_toggleOnKeydownMethod · 0.65
_handleClickMethod · 0.65
_handleFocusFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected