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

Function fireDidEvents

core/src/utils/transition/index.ts:215–218  ·  view source on GitHub ↗
(enteringEl: HTMLElement | undefined, leavingEl: HTMLElement | undefined)

Source from the content-addressed store, hash-verified

213};
214
215const fireDidEvents = (enteringEl: HTMLElement | undefined, leavingEl: HTMLElement | undefined) => {
216 lifecycle(enteringEl, LIFECYCLE_DID_ENTER);
217 lifecycle(leavingEl, LIFECYCLE_DID_LEAVE);
218};
219
220export const lifecycle = (el: HTMLElement | undefined, eventName: string) => {
221 if (el) {

Callers 2

animationFunction · 0.85
noAnimationFunction · 0.85

Calls 1

lifecycleFunction · 0.85

Tested by

no test coverage detected