Skip to content

Instantly share code, notes, and snippets.

View kamiyaowl's full-sized avatar
🤔
:thinking_face:

Kamiya kamiyaowl

🤔
:thinking_face:
View GitHub Profile
// dom types
import org.scalajs.dom._
// global
import scala.scalajs.js.Dynamic.global
// document with good type
val document = global.document.asInstanceOf[Document]
// body with good type