Get the current values of our springs
()
| 157 | |
| 158 | /** Get the current values of our springs */ |
| 159 | get(): State & UnknownProps { |
| 160 | const values: any = {} |
| 161 | this.each((spring, key) => (values[key] = spring.get())) |
| 162 | return values |
| 163 | } |
| 164 | |
| 165 | /** Set the current values without animating. */ |
| 166 | set(values: Partial<State>) { |