scala-js-dom
scala-js-dom copied to clipboard
Add upgrade() whenDefined() to CustomElementRegistry
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() whenDefined() to CustomElementRegistry
Hello team. I am not sure should we also add the get() and getName() functions, which seems to involve the type being a constructor...
Hmm. I think the type for a constructor should be js.Dynamic. For example see val constructor in this API:
https://www.scala-js.org/api/scalajs-library/latest/scala/scalajs/js/ConstructorTag.html
Hmm. I think the type for a constructor should be
js.Dynamic. For example seeval constructorin this API: https://www.scala-js.org/api/scalajs-library/latest/scala/scalajs/js/ConstructorTag.html
Added
fixed