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

- https://developer.mozilla.org/en-US/docs/Web/API/History/pushState - https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState - https://github.com/microsoft/TypeScript/blob/1490037f178d222c11351cb8a91d1380d224f085/lib/lib.dom.d.ts#L8896-L8897

These are some improvements to the Performance API after testing it for a while

Notably, it includes https://github.com/lampepfl/dotty/pull/14318. The bug it fixes seems to cause all sorts of problems when trying to do things with sourcemaps. I realize this lib is mostly facade where...

Continuation of https://github.com/scala-js/scala-js-dom/issues/624. I "fixed" that one in https://github.com/scala-js/scala-js-dom/pull/657 but only looked at `Init` types and neglected the many crypto types which turns out need the same treatment. I noticed...

help wanted

Pretty much supported in all browsers: https://caniuse.com/mdn-api_element_replacewith DOM Standard: https://dom.spec.whatwg.org/#interface-childnode MDN: https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith

enhancement
good first issue

AFAIU scala-js-dom was originally generated based on some ancient version of typescript, in the 1.x days and manually patched since. In the meantime those definitions have seen considerable expansion and...

question

Reported by @bblfish on Discord. https://github.com/scala-js/scala-js-dom/blob/b20fa78699722dcb323409a02ab06e6af83803c9/dom/src/main/scala/org/scalajs/dom/SubtleCrypto.scala#L36-L37 https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/verify There may be other signatures that can be improved in the crypto APIs as well.

bug
help wanted
good first issue

https://github.com/scala-js/scala-js-dom/blob/e7254c8a5729ee6a86b83111587522efa0955c31/dom/src/main/scala/org/scalajs/dom/package.scala#L35

enhancement
help wanted
good first issue

- https://github.com/scala-js/scala-js-dom/pull/639#discussion_r758359513 - https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeThrough https://github.com/scala-js/scala-js-dom/blob/49c89d28c023dc14f607a6ed82fc8c929dac4fa3/dom/src/main/scala/org/scalajs/dom/ReadableStream.scala#L59-L62

enhancement
help wanted
good first issue

https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image ScalablyTyped _thought_ we had this, so we may as well add it :)

enhancement
help wanted
good first issue