Replies: 1 comment
-
Hey @Levelleor, have you taken a look at our beta docs? There's a more comprehensive getting started page & then some conceptual documentation that might answer your questions – https://beta.react-spring.dev/docs/getting-started If you have anymore after reading that, feel free to ask them here :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There's a click toggle example in the docs but I couldn't find any documentation for the method anywhere. It looks like x is a custom parameter that is set a number value and then method
.to()
multiplies the outputs with that value. The only issue is that when it is multiplied by 0 for some reason the animation resets to base value instead of multiplying values by 0 and actually scaling the element to 0.I am just wondering to how it works. I don't understand the concept of the thing and its purpose.
The code I found looks like so:
Beta Was this translation helpful? Give feedback.
All reactions