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

Function runTransition

core/src/utils/transition/index.ts:88–94  ·  view source on GitHub ↗
(opts: TransitionOptions)

Source from the content-addressed store, hash-verified

86};
87
88const runTransition = async (opts: TransitionOptions): Promise<TransitionResult> => {
89 const animationBuilder = await getAnimationBuilder(opts);
90
91 const ani = animationBuilder && Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
92
93 return ani;
94};
95
96const afterTransition = (opts: TransitionOptions) => {
97 const enteringEl = opts.enteringEl;

Callers 1

transitionFunction · 0.85

Calls 3

getAnimationBuilderFunction · 0.85
noAnimationFunction · 0.85
animationFunction · 0.70

Tested by

no test coverage detected