v-on
Also written: @click, @submit, @input, @keyup, $event
A directive, written with the `@` shorthand, that runs code when a DOM event happens, such as `@click`. In inline handlers, `$event` is the browser's event object.
Also written: @click, @submit, @input, @keyup, $event
A directive, written with the `@` shorthand, that runs code when a DOM event happens, such as `@click`. In inline handlers, `$event` is the browser's event object.