MCPcopy Index your code
hub / github.com/adobe/react-spectrum / open

Method open

packages/react-stately/src/select/useSelectState.ts:143–143  ·  view source on GitHub ↗

Opens the menu.

(focusStrategy?: FocusStrategy | null)

Source from the content-addressed store, hash-verified

141
142 /** Opens the menu. */
143 open(focusStrategy?: FocusStrategy | null): void;
144
145 /** Toggles the menu. */
146 toggle(focusStrategy?: FocusStrategy | null): void;

Callers 15

handleShowFunction · 0.65
useTooltipFunction · 0.65
handleLinkClickFunction · 0.65
onKeyDownFunction · 0.65
onSelectFunction · 0.65
performActionFunction · 0.65
navigateToKeyFunction · 0.65
useSubmenuTriggerFunction · 0.65
onLongPressFunction · 0.65
onPressStartFunction · 0.65

Calls

no outgoing calls

Tested by 2

onMouseEnterFunction · 0.52
openAndTriggerMenuItemFunction · 0.52