0 votes
in VueJS by

What is the syntax to invoke the method handleUserClick when the user clicks a button?

select the correct option from below

a)<button v-on:click=”handleUserClick”>Click Me!</button>

b)<button :click=”handleUserClick”>Click Me!</button>

c)Both the options

d)None of the options

1 Answer

0 votes
by

a)<button v-on:click=”handleUserClick”>Click Me!</button> is the syntax to invoke the method handleUserClick when the user clicks a button

Related questions

0 votes
asked Feb 12, 2022 in OWASP Top 10 Vulnerabilities by DavidAnderson
0 votes
asked Feb 11, 2020 in JavaScript by miceperry
...