You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(where click and mouseover are of course defined as methods for the component, and title is declared within the data() object).
A cleaner way to do this (imho, and in keeping with javascript's shorthand object notation: e.g. const x = { a, b, c }), a cleaner way may look like this:
<a @click @mouseover :title>hello</a>
This concept could also be extended to binding of variables & props (e.g. :title=title becomes :title).
What does the proposed API look like?
the API would not (should not need to) be changed as this would affect only the initial parsing of a template's html.
I suspect the parts of the code to be modified would be here and here but those were too involved for me to attempt.