jakiestfu/Medium.js

On input change event?

hrmshandy opened this issue · 0 comments

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;
});