MCPcopy
hub / github.com/pmndrs/react-spring / getFinishedResult

Function getFinishedResult

packages/core/src/AnimationResult.ts:28–36  ·  view source on GitHub ↗
(
  value: any,
  finished: boolean,
  cancelled = false
)

Source from the content-addressed store, hash-verified

26})
27
28export const getFinishedResult = (
29 value: any,
30 finished: boolean,
31 cancelled = false
32) => ({
33 value,
34 finished,
35 cancelled,
36})
37
38export const getCancelledResult = (value: any) => ({
39 value,

Callers 10

Controller.test.tsFile · 0.90
bailIfEndedFunction · 0.90
animateFunction · 0.90
runAsyncFunction · 0.90
_updateMethod · 0.90
_mergeMethod · 0.90
_onStartMethod · 0.90
_onChangeMethod · 0.90
_stopMethod · 0.90
getCombinedResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…