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
...