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

init documentation for cancelAnimationFrame() and requestAnimationFrame() of DedicatedWorkerGlobalScope interface #30880

Merged
merged 31 commits into from
Dec 14, 2023

Conversation

skyclouds2001
Copy link
Contributor

Description

see https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame and https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame

reference to https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animation-frames

using some content from Window.requestAnimationFrame() and Window.cancelAnimationFrame() and the example from the specification

Motivation

Additional details

Relates to #1519

Related issues and pull requests

@github-actions github-actions bot added the Content:WebAPI Web API docs label Dec 8, 2023
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@skyclouds2001 skyclouds2001 marked this pull request as ready for review December 8, 2023 19:53
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner December 8, 2023 19:53
@skyclouds2001 skyclouds2001 requested review from Elchi3 and removed request for a team December 8, 2023 19:53
Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

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

I have a few questions here, and I'll need to do a second pass once all is fixed, but this is close to be mergeable.

Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

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

A few last grammar and typo fixes, and this is ready to be merged. Well done!

Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
skyclouds2001 and others added 9 commits December 14, 2023 21:26
…frame/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…nframe/index.md

Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
…nframe/index.md

Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
…nframe/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

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

Thank you!

@teoli2003 teoli2003 merged commit 843f6ef into mdn:main Dec 14, 2023
7 checks passed
@skyclouds2001 skyclouds2001 deleted the animation-frame branch December 14, 2023 14:28
dipikabh pushed a commit to dipikabh/content that referenced this pull request Jan 17, 2024
…Frame()` of `DedicatedWorkerGlobalScope` interface (mdn#30880)

* init

* update example

* update list

* style pretty

* update additional info

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* remove extra comment

* update see also section

* Apply suggestions from code review

* update

* Apply suggestions from code review

Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>

* update

* update worker

* better reflect confuse

* update

* update content

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>

* Update files/en-us/web/api/dedicatedworkerglobalscope/cancelanimationframe/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update files/en-us/web/api/dedicatedworkerglobalscope/requestanimationframe/index.md

Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>

* Update files/en-us/web/api/dedicatedworkerglobalscope/requestanimationframe/index.md

Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>

* Update files/en-us/web/api/dedicatedworkerglobalscope/requestanimationframe/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update files/en-us/web/api/dedicatedworkerglobalscope/requestanimationframe/index.md

* Update files/en-us/web/api/dedicatedworkerglobalscope/requestanimationframe/index.md

* Update files/en-us/web/api/dedicatedworkerglobalscope/cancelanimationframe/index.md

* Update files/en-us/web/api/dedicatedworkerglobalscope/cancelanimationframe/index.md

* Update files/en-us/web/api/dedicatedworkerglobalscope/cancelanimationframe/index.md

* Update files/en-us/web/api/dedicatedworkerglobalscope/requestanimationframe/index.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants