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

Function onResume

packages/core/src/scheduleProps.ts:75–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 }
74
75 function onResume() {
76 if (delay > 0 && !G.skipAnimation) {
77 state.delayed = true
78 timeout = raf.setTimeout(onStart, delay)
79 state.pauseQueue.add(onPause)
80 state.timeouts.add(timeout)
81 } else {
82 onStart()
83 }
84 }
85
86 function onStart() {
87 if (state.delayed) {

Callers 1

schedulePropsFunction · 0.85

Calls 2

onStartFunction · 0.85
addMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…