MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / notifyViewReady

Function notifyViewReady

core/src/utils/transition/index.ts:178–185  ·  view source on GitHub ↗
(
  viewIsReady: undefined | ((enteringEl: HTMLElement) => Promise<any>),
  enteringEl: HTMLElement
)

Source from the content-addressed store, hash-verified

176};
177
178const notifyViewReady = async (
179 viewIsReady: undefined | ((enteringEl: HTMLElement) => Promise<any>),
180 enteringEl: HTMLElement
181) => {
182 if (viewIsReady) {
183 await viewIsReady(enteringEl);
184 }
185};
186
187const playTransition = (trans: Animation, opts: TransitionOptions): Promise<boolean> => {
188 const progressCallback = opts.progressCallback;

Callers 1

waitForReadyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected