MCPcopy
hub / github.com/ionic-team/ionic-framework / _getOpenSync

Function _getOpenSync

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

Source from the content-addressed store, hash-verified

198 };
199
200 const _getOpenSync = (): HTMLIonMenuElement | undefined => {
201 return find((m) => m._isOpen);
202 };
203
204 const getMenusSync = (): HTMLIonMenuElement[] => {
205 return menus.map((menu) => menu.el);

Callers 2

getOpenFunction · 0.85
createMenuControllerFunction · 0.85

Calls 1

findFunction · 0.85

Tested by

no test coverage detected