Skip to content

Adding docs for code in the refrence. #7902

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

Open
wants to merge 2 commits into
base: dev-2.0
Choose a base branch
from

Conversation

perminder-17
Copy link
Collaborator

Resolves #7881

Changes:
Added documentation and examples for code function.

PR Checklist

* of the current keyboard layout (QWERTY, Dvorak, AZERTY, etc.) or the character
* that appears in a text field.
*
* The code property returns a plain string (e.g. 'ArrowRight'), you can
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @perminder-17 ,
just a small thing - (e.g. 'ArrowRight') to be (e.g., 'ArrowRight') a comma (,) after the abbreviation, for stating eaxmple and probably a full-stop after it (e.g. 'ArrowRight'), --> (e.g., 'ArrowRight'). You can....

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for catching this. Do you think the PR looks good to you now?

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.

[p5.js 2.0 Bug Report]: Add documentation for the code system variable in key handling.
2 participants