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

Method set

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

Update the state of each controller without animating.

(values: Partial<State>)

Source from the content-addressed store, hash-verified

35
36 /** Update the state of each controller without animating. */
37 set(values: Partial<State>): void
38 /** Update the state of each controller without animating based on their passed state. */
39 set(values: (index: number, ctrl: Controller<State>) => Partial<State>): void
40

Callers 15

frameObserverFunction · 0.65
setup.tsFile · 0.65
setMethod · 0.65
flushUpdateFunction · 0.65
SpringRefFunction · 0.65
describeTargetFunction · 0.65
setStickyFunction · 0.65
scrollToFunction · 0.65
resizeElementFunction · 0.65
onScrollFunction · 0.65
rafFunction · 0.65

Calls

no outgoing calls

Tested by 1

describeTargetFunction · 0.52