Set the current values without animating.
(values: Partial<State>)
| 164 | |
| 165 | /** Set the current values without animating. */ |
| 166 | set(values: Partial<State>) { |
| 167 | for (const key in values) { |
| 168 | const value = values[key] |
| 169 | if (!is.und(value)) { |
| 170 | this.springs[key].set(value) |
| 171 | } |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | /** Push an update onto the queue of each value. */ |
| 176 | update(props: ControllerUpdate<State> | Falsy) { |