vsn-on:*
Use vsn-on:* to attach an event handler directly on an element.
Basic usage
<button vsn-on:click="count += 1;"></button>
Modifiers
<a href="/docs" vsn-on:click.prevent="open = true;"></a>
Supported modifiers include prevent, stop, once, passive, outside, and key modifiers.
Key modifiers
<input vsn-on:keyup.enter="submit();" />