Resume the animation if paused.
(keys?: OneOrMore<string>)
| 243 | |
| 244 | /** Resume the animation if paused. */ |
| 245 | resume(keys?: OneOrMore<string>) { |
| 246 | if (is.und(keys)) { |
| 247 | this.start({ pause: false }) |
| 248 | } else { |
| 249 | const springs = this.springs as Lookup<SpringValue> |
| 250 | each(toArray(keys) as string[], key => springs[key].resume()) |
| 251 | } |
| 252 | return this |
| 253 | } |
| 254 | |
| 255 | /** Call a function once per spring value */ |
| 256 | each(iterator: (spring: SpringValue, key: string) => void) { |