4
If you’re trying to minimize the amount of typing, you could use the new @event syntax introduced with 1.0:
<input type="text"
@keyup="onKeyUp"
@blur="onBlur"
>
See the vue.js documentation for more info.
Other than that, I don’t think what you’re asking for is possible with 1.0.
- [Vuejs]-Accessing "this" in a javascript forEach function
- [Vuejs]-Importing stripe to a Vue.js component
Source:stackexchange.com