Question

How to use extrapolate parameters?

  • Posted August 3, 2020
  • React

Thanks a lot, I have a question about Interpolate How to use the sysy, opi, sd parameters in the following description?

https://www.react-spring.io/docs/hooks/api value.interpolate either takes an object of the following shape:

extrapolateLeft extend Left extrapolate. Can be: identity/clamp/extend extrapolateRight extend Right extrapolate. Can be: identity/clamp/extend extrapolate extend Shortcut to set left and right-extrapolate range [0,1] Array of input ranges output undefined Array of mapped output ranges map undefined Value filter applied to input value

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!