Skip to content

Commit

Permalink
docs: add @params tag to windowResized()
Browse files Browse the repository at this point in the history
  • Loading branch information
fal-works committed Mar 18, 2021
1 parent 485dc36 commit d46e5b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,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.
* @example
* <div class="norender"><code>
* function setup() {
Expand Down

0 comments on commit d46e5b9

Please sign in to comment.