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

Function onTransitionEnd

core/src/utils/helpers.ts:36–41  ·  view source on GitHub ↗
(ev?: Event)

Source from the content-addressed store, hash-verified

34 };
35
36 const onTransitionEnd = (ev?: Event) => {
37 if (ev === undefined || el === ev.target) {
38 unregister();
39 callback(ev as TransitionEvent);
40 }
41 };
42
43 if (el) {
44 el.addEventListener('webkitTransitionEnd', onTransitionEnd, opts);

Callers

nothing calls this directly

Calls 2

unregisterFunction · 0.70
callbackFunction · 0.50

Tested by

no test coverage detected