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

Function waitForMount

core/src/utils/transition/index.ts:243–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241 * all frameworks to ensure contents are mounted.
242 */
243export const waitForMount = (): Promise<void> => {
244 return new Promise((resolve) => raf(() => raf(() => resolve())));
245};
246
247export const deepReady = async (el: any | undefined): Promise<void> => {
248 const element = el as any;

Callers 2

presentMethod · 0.90
presentMethod · 0.90

Calls 2

rafFunction · 0.90
resolveFunction · 0.85

Tested by

no test coverage detected