We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for this create() method here
create()
scala-js-dom/src/main/scala/org/scalajs/dom/raw/Html.scala
Line 1445 in de25b45
there seems to be no corresponding method here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement
discussion on Gitter: https://gitter.im/scala-js/scala-js?at=58ce837c6d7eb18404e37c35
object ie extends HTMLImageElement @JSExport("Main") object Main extends js.JSApp { @JSExport def main(): Unit = { val i2=ie.create() println("ie "+ie) println("ie "+i2) ...
gives:
Main.scala:46Uncaught TypeError: Cannot read property 'create' of undefined(…)$c_Lapp_client_Main$.main__V @ Main.scala:46$c_Lapp_client_Main$.$$js$exported$meth$main__O @ Main.scala:45$c_Lapp_client_Main$.main @ Main.scala:45(anonymous function) @ (index):1
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
for this
create()
method herescala-js-dom/src/main/scala/org/scalajs/dom/raw/Html.scala
Line 1445 in de25b45
there seems to be no corresponding method here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement
discussion on Gitter: https://gitter.im/scala-js/scala-js?at=58ce837c6d7eb18404e37c35
gives:
The text was updated successfully, but these errors were encountered: