MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / getOpen

Function getOpen

core/src/utils/menu-controller/index.ts:138–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136 * Get the instance of the opened menu. Returns `null` if a menu is not found.
137 */
138 const getOpen = async (): Promise<HTMLIonMenuElement | undefined> => {
139 await waitUntilReady();
140 return _getOpenSync();
141 };
142
143 /**
144 * Get all menu instances.

Callers 3

closeFunction · 0.85
isOpenFunction · 0.85
_setOpenFunction · 0.85

Calls 2

waitUntilReadyFunction · 0.85
_getOpenSyncFunction · 0.85

Tested by

no test coverage detected