site: fix wrong link to tweened (#4137)

pull/4145/head
Yugo Ogura 5 years ago committed by Conduitry
parent 109639c57c
commit 11002c93fe

@ -489,7 +489,7 @@ A `spring` store gradually changes to its target value based on its `stiffness`
---
As with [`tweened`](#tweened) stores, `set` and `update` return a Promise that resolves if the spring settles. The `store.stiffness` and `store.damping` properties can be changed while the spring is in motion, and will take immediate effect.
As with [`tweened`](docs#tweened) stores, `set` and `update` return a Promise that resolves if the spring settles. The `store.stiffness` and `store.damping` properties can be changed while the spring is in motion, and will take immediate effect.
Both `set` and `update` can take a second argument — an object with `hard` or `soft` properties. `{ hard: true }` sets the target value immediately; `{ soft: n }` preserves existing momentum for `n` seconds before settling. `{ soft: true }` is equivalent to `{ soft: 0.5 }`.

Loading…
Cancel
Save