I expected to be able to use the action function in a manner like this:
But it doesn't work. It only works when used as on:click={action('clicked'). I would have expected it could be used as on:click={() => action('clicked')} as all of my other functions are.
My apologies. I'm off my rocker. Things work great as explained in https://svench-docs.vercel.app/_/Usage/actions, I just didn't know the proper syntax of doing action('copied', clip).
I expected to be able to use the action function in a manner like this:![image](https://user-images.githubusercontent.com/7559478/129246468-89671958-d2c4-40ec-84a4-a26d040406c1.png)
But it doesn't work. It only works when used as
on:click={action('clicked')
. I would have expected it could be used ason:click={() => action('clicked')}
as all of my other functions are.