Skip to content

Commit

Permalink
Optional params to create() documented as such
Browse files Browse the repository at this point in the history
  • Loading branch information
djipco committed Apr 8, 2019
1 parent fa5d448 commit bf76431
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/quicksettings.template.js
Expand Up @@ -121,11 +121,11 @@

/**
* Static method. Creates a new QuickSettings Panel
* @param x {Number} x position of panel (default 0)
* @param y {Number} y position of panel (default 0)
* @param title {String} title of panel (default "QuickSettings")
* @param parent {HTMLElement} parent element (default document.body)
* @returns {module:QuickSettings} New QuickSettings Panel
* @param x {Number} x position of panel (default 0)
* @param y {Number} y position of panel (default 0)
* @param [title] {String} title of panel (default "QuickSettings")
* @param [parent] {HTMLElement} parent element (default document.body)
* @returns {module:QuickSettings} New QuickSettings Panel
* @static
*/
create: function (x, y, title, parent) {
Expand Down

0 comments on commit bf76431

Please sign in to comment.