MCPcopy
hub / github.com/Splidejs/splide / cancel

Function cancel

src/js/components/Move/Move.ts:167–170  ·  view source on GitHub ↗

* Cancels transition.

()

Source from the content-addressed store, hash-verified

165 * Cancels transition.
166 */
167 function cancel(): void {
168 translate( getPosition(), true );
169 Transition.cancel();
170 }
171
172 /**
173 * Returns the closest index to the position.

Callers 1

moveFunction · 0.70

Calls 3

translateFunction · 0.85
getPositionFunction · 0.85
cancelMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…