Scala.js DOM provides Scala.js bindings for the browser DOM API, enabling type-safe web development in Scala.
<dependency>
<groupId>org.scala-js</groupId>
<artifactId>scalajs-dom_sjs0.6_2.12</artifactId>
<version>1.2.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a div element and append it to the document body using Scala.js DOM.
Use org.scala-js:scalajs-dom_sjs1_2.13 for Scala.js 1.x and Scala 2.13.
No dependency data recorded yet.