Skip to content

Commit ef17670

Browse files
authored
Merge pull request #5569 from Gaweph/yuiDoc-errors
dom.js - Make PositionType argument optional
2 parents a92070b + f3a0fe1 commit ef17670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dom/dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ p5.Element.prototype.html = function() {
17991799
* @method position
18001800
* @param {Number} [x] x-position relative to upper left of window (optional)
18011801
* @param {Number} [y] y-position relative to upper left of window (optional)
1802-
* @param {String} positionType it can be static, fixed, relative, sticky, initial or inherit (optional)
1802+
* @param {String} [positionType] it can be static, fixed, relative, sticky, initial or inherit (optional)
18031803
* @chainable
18041804
*/
18051805
p5.Element.prototype.position = function() {

0 commit comments

Comments
 (0)