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

Function waitUntilReady

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

Source from the content-addressed store, hash-verified

218 };
219
220 const waitUntilReady = () => {
221 return Promise.all(
222 Array.from(document.querySelectorAll('ion-menu')).map(
223 (menu) => new Promise((resolve) => componentOnReady(menu, resolve))
224 )
225 );
226 };
227
228 registerAnimation('reveal', menuRevealAnimation);
229 registerAnimation('push', menuPushAnimation);

Callers 4

getFunction · 0.85
getOpenFunction · 0.85
getMenusFunction · 0.85
isAnimatingFunction · 0.85

Calls 2

componentOnReadyFunction · 0.90
fromMethod · 0.80

Tested by

no test coverage detected