I am trying to access the value of a textarea in scalajs like so:
document.getElementById("editor").addEventListener("input", { (e: dom.Ev