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

Method _get

targets/web/src/AnimatedStyle.ts:136–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 }
135
136 protected _get() {
137 let transform = ''
138 let identity = true
139 each(this.inputs, (input, i) => {
140 const arg1 = getFluidValue(input[0])
141 const [t, id] = this.transforms[i](
142 is.arr(arg1) ? arg1 : input.map(getFluidValue)
143 )
144 transform += ' ' + t
145 identity = identity && id
146 })
147 return identity ? 'none' : transform
148 }
149
150 // Start observing our inputs once we have an observer.
151 protected observerAdded(count: number) {

Callers 1

getMethod · 0.95

Calls 2

eachFunction · 0.90
getFluidValueFunction · 0.90

Tested by

no test coverage detected