5👍
✅
-2👍
We can add prevent
modifier to events
It is equivalent of Event.preventDefault() in javascript.
<input
type="submit"
value="Start"
name="start_button"
@click.prevent="start"
/>
Source:stackexchange.com
5👍
-2👍
We can add prevent
modifier to events
It is equivalent of Event.preventDefault() in javascript.
<input
type="submit"
value="Start"
name="start_button"
@click.prevent="start"
/>