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
See @click="doSomething('params')", the generated code will be function($event){doSomething('params')}, no return in it. Normal syntax with method name only has the return. So I think consistent may be better.
And the use case is child component may want to manually call the event handler to get the result, not through this.$emit
What does the proposed API look like?
No added api
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
See
@click="doSomething('params')"
, the generated code will befunction($event){doSomething('params')}
, no return in it. Normal syntax with method name only has the return. So I think consistent may be better.And the use case is child component may want to manually call the event handler to get the result, not through
this.$emit
What does the proposed API look like?
No added api
The text was updated successfully, but these errors were encountered: