-
Notifications
You must be signed in to change notification settings - Fork 6
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
Provide examples of API usage in https://docs.webxdc.org/spec.html #60
Comments
Hmm good point. Wouldn't an example app suffice though? Or I guess you'd want to see an example beside the spec of the API. |
Examples are already provided for |
WofWca
added a commit
that referenced
this issue
Jul 13, 2024
WofWca
added a commit
that referenced
this issue
Jul 13, 2024
Closes #60 Some might say that the setUpdateListener example is too convoluted, but you can't really showcase the usage of `serial` without this much code. Plus, a briefer example is already shown in `sendUpdate()` docs.
WofWca
added a commit
that referenced
this issue
Jul 13, 2024
Closes #60 Some might say that the setUpdateListener example is too convoluted, but you can't really showcase the usage of `serial` without this much code. Plus, a briefer example is already shown in `sendUpdate()` docs. The code has been tested with the `webxdc-dev` tool, and (mostly) fomatted with Prettier.
WofWca
added a commit
that referenced
this issue
Jul 14, 2024
Closes #60 Some might say that the setUpdateListener example is too convoluted, but you can't really showcase the usage of `serial` without this much code. Plus, a briefer example is already shown in `sendUpdate()` docs. The code has been tested with the `webxdc-dev` tool, and (mostly) fomatted with Prettier.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Especially for
sendUpdate
andsetUpdateListener
.The text was updated successfully, but these errors were encountered: