How to use Svelte transitions with a click function instead of inline?
I want a simple animation/transition in Svelte. Basically, you click a button, a “ghost of the button” or the button itself rises up and fades into the ether, then returns to its original position if it was the button itself that animated.