Registry / other / scalajs-dom-sjs0-6-2-12

scalajs-dom-sjs0-6-2-12

JSON →
library1.2.0javamavenunverified

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>
INSTALL
IMPORT
SIG · SCALAJS-DOM-SJS0-6
S
scalajs-dom-sjs0-6-2-12
otherjavav1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

document
org.scalajs.dom.document

Create a div element and append it to the document body using Scala.js DOM.

import org.scalajs.dom.document object Example { def main(args: Array[String]): Unit = { val div = document.createElement("div") div.textContent = "Hello, Scala.js!" document.body.appendChild(div) } }
Debug
Known issues
breakingThis artifact is for Scala.js 0.6.x and Scala 2.12; newer versions use different coordinates.
fix
Use org.scala-js:scalajs-dom_sjs1_2.13 for Scala.js 1.x and Scala 2.13.
affects: >=1.2.0
Upgrade
Version history
1.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
scalajs-dom-sjs0-6-2-12 — mvn dependency:get scalajs-dom-sjs0-6-2-12 · libregistry