Replies: 1 comment
-
You can store the original value in a variable and initialise the signal to that. Then you can have a function or method to set the signal with that. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to reset a signal to its original value?
If no, how can I trigger a rerender that would achieve the same effect, following a single click.
Beta Was this translation helpful? Give feedback.
All reactions