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

add more event type #6379

Merged
merged 2 commits into from Aug 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/environment.js
Expand Up @@ -513,7 +513,7 @@ p5.prototype.windowHeight = getWindowHeight();
* canvas or do any other adjustments to accommodate the new window size.
*
* @method windowResized
* @param {Object} [event] optional Event callback argument.
* @param {UIEvent} [event] optional Event callback argument.
* @example
* <div class="norender"><code>
* function setup() {
Expand Down
6 changes: 3 additions & 3 deletions src/events/touch.js
Expand Up @@ -76,7 +76,7 @@ function getTouchInfo(canvas, w, h, e, i = 0) {
* to the end of the method.
*
* @method touchStarted
* @param {Object} [event] optional TouchEvent callback argument.
* @param {TouchEvent} [event] optional TouchEvent callback argument.
* @example
* <div>
* <code>
Expand Down Expand Up @@ -155,7 +155,7 @@ p5.prototype._ontouchstart = function(e) {
* to the end of the method.
*
* @method touchMoved
* @param {Object} [event] optional TouchEvent callback argument.
* @param {TouchEvent} [event] optional TouchEvent callback argument.
* @example
* <div>
* <code>
Expand Down Expand Up @@ -226,7 +226,7 @@ p5.prototype._ontouchmove = function(e) {
* to the end of the method.
*
* @method touchEnded
* @param {Object} [event] optional TouchEvent callback argument.
* @param {TouchEvent} [event] optional TouchEvent callback argument.
* @example
* <div>
* <code>
Expand Down