MCPcopy
hub / github.com/ampproject/amphtml / continueMotion

Function continueMotion

src/motion.js:66–84  ·  view source on GitHub ↗
(
  contextNode,
  startX,
  startY,
  veloX,
  veloY,
  callback,
  opt_vsync
)

Source from the content-addressed store, hash-verified

64 * @return {!Motion}
65 */
66export function continueMotion(
67 contextNode,
68 startX,
69 startY,
70 veloX,
71 veloY,
72 callback,
73 opt_vsync
74) {
75 return new Motion(
76 contextNode,
77 startX,
78 startY,
79 veloX,
80 veloY,
81 callback,
82 opt_vsync
83 ).start();
84}
85
86/**
87 * Motion process that allows tracking and monitoring of the running motion.

Callers 6

testContinuationFunction · 0.90
onMoveRelease_Method · 0.90
onZoomRelease_Method · 0.90
onMoveRelease_Method · 0.90
onTapZoomRelease_Method · 0.90
onMoveRelease_Method · 0.90

Calls 1

startMethod · 0.45

Tested by

no test coverage detected