0👍
input.trigger(‘keydown’) – its event for @keydown.
Input element use @input event for updating value . Probably .trigger(‘input’ , ‘a’) – that’s what you need
- [Vuejs]-I tried to use vue-resource and I got "Uncaught TypeError: window.Vue.use is not a function"
- [Vuejs]-Pass array data to component and make
Source:stackexchange.com