Skip to content
New issue

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

Create HTMLDialogElement #708

Merged
merged 1 commit into from
Jul 11, 2022
Merged

Conversation

Lasering
Copy link
Contributor

Fixes #223.

Coudn't find an example of how overloaded methods are implemented in scala-js-dom. Looked at HTMLElement.focus() but it seems the case where focus receives options was not implemented.

Ran prePR without problems, was expecting prePR to edit/generate files in api-reports. What is the process to commit changes there?

@armanbilge
Copy link
Member

Thanks for this!!

I think the file you added is missing the .scala extension, that's why the tooling isn't working :)

@Lasering
Copy link
Contributor Author

Now it should be proper.

@Lasering Lasering force-pushed the dialog-element branch 2 times, most recently from 15efe76 to b4fe5a6 Compare June 30, 2022 17:57
Copy link
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you for your contribution!

@armanbilge armanbilge merged commit 84086c9 into scala-js:main Jul 11, 2022
@Lasering
Copy link
Contributor Author

Lasering commented Dec 4, 2022

@armanbilge shouldn't a type alias type Dialog = HTMLDialogElement be added here https://github.com/scala-js/scala-js-dom/blob/main/dom/src/main/scala/org/scalajs/dom/html.scala? I can make a new PR to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support HTMLDialogElement
2 participants