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

Function getDirection

core/src/utils/animation/animation.ts:314–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312 };
313
314 const getDirection = () => {
315 if (forceDirectionValue !== undefined) {
316 return forceDirectionValue;
317 }
318 if (_direction !== undefined) {
319 return _direction;
320 }
321 if (parentAnimation) {
322 return parentAnimation.getDirection();
323 }
324
325 return 'normal';
326 };
327
328 const getEasing = () => {
329 if (shouldForceLinearEasing) {

Callers 3

initializeWebAnimationFunction · 0.70
updateWebAnimationFunction · 0.70
progressEndFunction · 0.70

Calls 1

getDirectionMethod · 0.65

Tested by

no test coverage detected