-
Notifications
You must be signed in to change notification settings - Fork 131
docs: update Animate API docs #216
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
base: main
Are you sure you want to change the base?
docs: update Animate API docs #216
Conversation
✅ Deploy Preview for lynx-doc ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@toretto-wt @Huxpro @colinaaa PTAL, and or what do I need to improve~ |
| ani.play(); | ||
| ani.cancel(); | ||
|
|
||
| // After Lynx version 3.3, the Animate API can be called via the createSelectorQuery API, and multiple animations can be started on a single node simultaneously. The usage is as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should structure this as another example titled as something like "chain multiple animation with createSelectorQuery and use VersionBadge to mark it as v3.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done~
|
|
||
| :::info | ||
|
|
||
| - Animate Api and CSS Animation will override each other, and the one that takes effect later will override the former. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not use the "info" block since it's already under "other info"
Try to explain these infos in Code, Type, Examples, compat data instead of words here.
Let me know in Lark if you need help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Move the version-related descriptions to the compatibility table;
- Merge some of the behavior descriptions of getElementByID into one description.
abb86c6 to
bdce4f3
Compare
bdce4f3 to
726491e
Compare
Change-Id: Id08447becc68e639a61d48086df6f27346860e02
726491e to
b105253
Compare
Change-Id: Id08447becc68e639a61d48086df6f27346860e02