Open hrmshandy opened 7 years ago
In my case I use vue js, I need to store value to data on input changed. How could I accomplish this?
I tried like this, but editor.addEventListener is not a function editor.addEventListener('input', (e) => { this.content = e.target.value; });
In my case I use vue js, I need to store value to data on input changed. How could I accomplish this?
I tried like this, but editor.addEventListener is not a function editor.addEventListener('input', (e) => { this.content = e.target.value; });