0 votes
in VueJS by
<p v-if=”counterVar % 2 == 0″> Value is even </p>

<p v-else> Value is odd </p>

<button v-on:click=”___________________”>Click Me!</button> Assuming that counterVar variable has been initialized to 0, what must be filled in the click event handling mechanism?

select the correct option from below

a)counterVar + 1

b)counterVar++

c)Both the options

d)None of the options

1 Answer

0 votes
by
c)Both the options

Related questions

+1 vote
asked Feb 6, 2023 in VueJS by john ganales
+1 vote
asked Feb 3, 2023 in VueJS by john ganales
+1 vote
asked Feb 3, 2023 in VueJS by john ganales
0 votes
asked Jul 7, 2022 in VueJS by sharadyadav1986
...