Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add WindowOrWorkerGlobalScope #416

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

Closed
wants to merge 2 commits into from

Conversation

exoego
Copy link
Contributor

@exoego exoego commented Jun 25, 2020

This PR adds WindowOrWorkerGlobalScope trait, and let Window and WorkerGlobalScope extends the new trait.
Please refer https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope
Related class/traits, e.g. OffscreenCanva and ImageBitmap, are also added.

Background: I am using these JS APIs in Worker thread in several projects, via my own quick-and-dirty type facade, so supports in official scala-js-dom is highly appreciated.

@exoego exoego force-pushed the windowOrWorkerGlobalScope branch from e6b3a4b to c794a67 Compare June 25, 2020 04:07
japgolly added a commit to japgolly/scala-js-dom that referenced this pull request Dec 15, 2020
commit c794a67
Author: exoego <[email protected]>
Date:   Thu Jun 25 12:21:53 2020 +0900

    Add WindowOrWorkerGlobalScope
@exoego
Copy link
Contributor Author

exoego commented Mar 21, 2021

Closing in favor of #430

@exoego exoego closed this Mar 21, 2021
@exoego exoego deleted the windowOrWorkerGlobalScope branch March 21, 2021 13:42
japgolly added a commit to japgolly/scala-js-dom that referenced this pull request Mar 21, 2021
commit c794a67
Author: exoego <[email protected]>
Date:   Thu Jun 25 12:21:53 2020 +0900

    Add WindowOrWorkerGlobalScope
japgolly added a commit to japgolly/scala-js-dom that referenced this pull request Aug 20, 2021
commit c794a67
Author: exoego <[email protected]>
Date:   Thu Jun 25 12:21:53 2020 +0900

    Add WindowOrWorkerGlobalScope
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.

1 participant