scala-js-dom icon indicating copy to clipboard operation
scala-js-dom copied to clipboard

Statically typed DOM API for Scala.js

Results 57 scala-js-dom issues
Sort by recently updated
recently updated
newest added

I find myself doing this a lot: ```scala dom.document.createElement("div").asInstanceOf[dom.raw.HTMLDivElement] ``` It would make sense to have extensions for most of the `dom.raw` package.

enhancement
help wanted

## About this PR 📦 Updates [ch.epfl.scala:sbt-scalafix](https://github.com/scalacenter/sbt-scalafix) from `0.10.4` to `0.12.0` 📜 [GitHub Release Notes](https://github.com/scalacenter/sbt-scalafix/releases/tag/v0.12.0) - [Version Diff](https://github.com/scalacenter/sbt-scalafix/compare/v0.10.4...v0.12.0) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

Hi! I was hoping to add support for the [OPFS](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system). I've run into two areas where I was hoping to get advice - I'll highlight these in PR comments.

This PR is an attempt to add complete support for WebGL 2 (as defined [at MDN](https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext), _not_ [the official WebGL2 spec](https://registry.khronos.org/webgl/specs/latest/2.0/)). In the course of preparing this PR I have...

Hi there! Before submitting a PR containing any Scala changes, please make sure you... * run `sbt prePR` * commit changes to `api-reports` Thanks for contributing! add [upgrade()](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/upgrade) [whenDefined()](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/whenDefined) to...

Hi there! Before submitting a PR containing any Scala changes, please make sure you... * run `sbt prePR` * commit changes to `api-reports` Thanks for contributing!

## Enums Enums currently are defined separately for Scala 2 and Scala 3,not only that these enums, are anonymous objects backed by string fields. Because `scalajs-dom` wants to stay as...

question
docs

This is in progress at the moment, since I have an active project which is binding to most of these methods. I'm opening it, mainly so that there's some visibility...

Currently, the following classes are wrongly defined as traits within the Web Audio API: - `AudioNode` - `AudioBufferSourceNode` - `GainNode` - `OscillatorNode` - `MediaElementAudioSourceNode` - `AnalyserNode` - `PannerNode` - `DelayNode`...

bug
don't PR