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

Method getValue

targets/native/src/AnimatedTransform.ts:14–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 }
13
14 getValue() {
15 return this.source
16 ? this.source.map(source => {
17 const transform: any = {}
18 eachProp(source, (source, key) => {
19 transform[key] = getFluidValue(source)
20 })
21 return transform
22 })
23 : []
24 }
25
26 setValue(source: Source) {
27 this.source = source

Callers

nothing calls this directly

Calls 2

eachPropFunction · 0.90
getFluidValueFunction · 0.90

Tested by

no test coverage detected