bordoley / reactive-js

Fast modern reactive Javascript programming library
MIT License
11 stars 0 forks source link

Ad an animation config that just sets a position in 1 tick. #495

Closed bordoley closed 1 year ago

bordoley commented 1 year ago

basically so you can reset an animation to a known point via an event (reset).

bordoley commented 1 year ago

Another example of why this would be useful. Would allow us to just move exactly without springing to the position.

https://github.com/bordoley/reactive-js/blob/master/packages/example-web/src/measure.tsx#L51