File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -260,10 +260,12 @@ class Widget {
260260 /**
261261 * Append widget to the DOM.
262262 *
263- * If an elementId is specified, it will be appended to that element,
264- * otherwise it will be appended to the document's body.
263+ * If a parentElement is specified, the widget will be appended to that
264+ * element, otherwise it will be appended to the document's body. The parent
265+ * element can be given either as a simple element ID or as a valid HTML
266+ * element.
265267 *
266- * @param {String,HTMLElement } [element ] - Widget's parent
268+ * @param {String,HTMLElement } [parentElement ] - Parent element
267269 * @throws {Error } If the element is not found or is of an unknown type.
268270 */
269271 attach ( element ) {
You can’t perform that action at this time.
0 commit comments