0 votes
in VueJS by
<form @submit.prevent=”validateSubmit”>…</form>

What does @submit.prevent do?

select the correct option from below

a)Invokes the validateSubmit method before the usual submit action is executed.

b)Irrespective of the method definition in validateSubmit, default submit action will be executed.

1 Answer

0 votes
by

a)Invokes the validateSubmit method before the usual submit action is executed.

...