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

Function waitForReady

core/src/utils/transition/index.ts:168–176  ·  view source on GitHub ↗
(opts: TransitionOptions, defaultDeep: boolean)

Source from the content-addressed store, hash-verified

166};
167
168const waitForReady = async (opts: TransitionOptions, defaultDeep: boolean) => {
169 const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;
170
171 if (deep) {
172 await Promise.all([deepReady(opts.enteringEl), deepReady(opts.leavingEl)]);
173 }
174
175 await notifyViewReady(opts.viewIsReady, opts.enteringEl);
176};
177
178const notifyViewReady = async (
179 viewIsReady: undefined | ((enteringEl: HTMLElement) => Promise<any>),

Callers 2

animationFunction · 0.85
noAnimationFunction · 0.85

Calls 2

deepReadyFunction · 0.85
notifyViewReadyFunction · 0.85

Tested by

no test coverage detected