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

Function get

packages/core/src/FrameValue.ts:45–48  ·  view source on GitHub ↗

Get the current value

()

Source from the content-addressed store, hash-verified

43
44 /** Get the current value */
45 get(): T {
46 const node = getAnimated(this)
47 return node && node.getValue()
48 }
49
50 /** Create a spring that maps our value to another value */
51 to<Out>(...args: InterpolatorArgs<T, Out>) {

Callers

nothing calls this directly

Calls 2

getAnimatedFunction · 0.90
getValueMethod · 0.45

Tested by

no test coverage detected