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)Both the options

b)None of the options

c)counterVar++

d)counterVar + 1

1 Answer

0 votes
by
d)counterVar + 1

counterVar variable has been initialized to 0, "counterVar + 1 "must be filled in the click event handling mechanism
...