Registry / web-framework / scalajs-dom-sjs0-6-2-11

scalajs-dom-sjs0-6-2-11

JSON →
library1.2.0javamavenunverified

Scala.js facade for browser DOM APIs.

<dependency> <groupId>org.scala-js</groupId> <artifactId>scalajs-dom_sjs0.6_2.11</artifactId> <version>1.2.0</version> </dependency>
INSTALL
IMPORT
SIG · SCALAJS-DOM-SJS0-6
S
scalajs-dom-sjs0-6-2-11
web-frameworkjavav1.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

Minimal usage of Scala.js DOM document object.

import org.scalajs.dom.document object Example { def main(args: Array[String]): Unit = { val div = document.createElement("div") div.textContent = "Hello, DOM!" document.body.appendChild(div) } }
Debug
Known issues
breakingThis version targets Scala 2.11 and Scala.js 0.6; incompatible with newer Scala/Scala.js versions.
fix
Use scalajs-dom for Scala.js 1.x and Scala 2.13/3.
affects: 1.2.0
Upgrade
Version history
1.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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