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
As you can see , @click=" onClickHandler " has extra space.
then click the link in output
What is Expected?
the console should warn that event handler doesn't exist or execute onClickHandler directly
What is actually happening?
the console output nothing
Even in webpack dev environment, Vue doesn't show any warning.
I expect Vue can give a warning in this situation or just trim it to execute onClickHandler method.
The text was updated successfully, but these errors were encountered:
@posva Because I find the handler is not called, so I look into the code again and find spaces.
That's not important. Just need a warning for it in dev environment.
Vue.js version
2.0.1
Reproduction Link
http://jsbin.com/faremewici/2/edit?html,js,console,output
Steps to reproduce
As you can see ,
@click=" onClickHandler "
has extra space.then click the link in output
What is Expected?
the console should warn that event handler doesn't exist or execute
onClickHandler
directlyWhat is actually happening?
the console output nothing
Even in webpack dev environment, Vue doesn't show any warning.
I expect Vue can give a warning in this situation or just trim it to execute
onClickHandler
method.The text was updated successfully, but these errors were encountered: