News for hackers. Stuff that matters.
Re:Scala.js 1.0.0-RC1 by jackcviers3 on Tuesday November 26, 2019 @07:59AM (#21637858)
You can call js directly using dynamic. From the docs[1]:

    val document = js.Dynamic.global.document
    val playground = document.getElementById("playground")
    val newP = document.createElement("p")
    newP.innerHTML = "Hello world! <i>-- DOM</i>"
    playground.appendChild(newP)

1. http://ochrons.github.io/sjs2/doc/interoperability/calling_j....

There are no comments on this comment yet.