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

Method add

packages/core/src/SpringRef.ts:17–17  ·  view source on GitHub ↗

Add a controller to this ref

(ctrl: Controller<State>)

Source from the content-addressed store, hash-verified

15
16 /** Add a controller to this ref */
17 add(ctrl: Controller<State>): void
18
19 /** Remove a controller from this ref */
20 delete(ctrl: Controller<State>): void

Callers 15

schedulePropsFunction · 0.80
onPauseFunction · 0.80
onResumeFunction · 0.80
onLoopResetMethod · 0.80
eventObservedMethod · 0.80
flushUpdateFunction · 0.80
_attachMethod · 0.80
eventObservedMethod · 0.80
animateFunction · 0.80
replaceRefFunction · 0.80
_mergeMethod · 0.80
findDefinedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected