Skip to content

Commit

Permalink
Merge pull request #6379 from asukaminato0721/TouchEvent
Browse files Browse the repository at this point in the history
add more event type
  • Loading branch information
limzykenneth committed Aug 27, 2023
2 parents d779178 + 815ba41 commit 507ee22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 507ee22

Please sign in to comment.