Prtksxna has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/268071

Change subject: docs: OO.ui.CapsuleMultiSelectWidget: Config options
......................................................................

docs: OO.ui.CapsuleMultiSelectWidget: Config options

* Add links to methods
* Set default for option
* Mark as required

Change-Id: I1a75e9aa24ccbe8773b5d20ea6ec23bf48bbf420
---
M src/widgets/CapsuleMultiSelectWidget.js
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/71/268071/1

diff --git a/src/widgets/CapsuleMultiSelectWidget.js 
b/src/widgets/CapsuleMultiSelectWidget.js
index be4b3d9..bffba7c 100644
--- a/src/widgets/CapsuleMultiSelectWidget.js
+++ b/src/widgets/CapsuleMultiSelectWidget.js
@@ -48,12 +48,13 @@
  * @constructor
  * @param {Object} [config] Configuration options
  * @cfg {boolean} [allowArbitrary=false] Allow data items to be added even if 
not present in the menu.
- * @cfg {Object} [menu] Configuration options to pass to the {@link 
OO.ui.MenuSelectWidget menu select widget}.
+ * @cfg {Object} [menu] (required) Configuration options to pass to the
+ *  {@link OO.ui.MenuSelectWidget menu select widget}.
  * @cfg {Object} [popup] Configuration options to pass to the {@link 
OO.ui.PopupWidget popup widget}.
  *  If specified, this popup will be shown instead of the menu (but the menu
  *  will still be used for item labels and allowArbitrary=false). The widgets
- *  in the popup should use this.addItemsFromData() or this.addItems() as 
necessary.
- * @cfg {jQuery} [$overlay] Render the menu or popup into a separate layer.
+ *  in the popup should use {@link #addItemsFromData} or {@link #addItems} as 
necessary.
+ * @cfg {jQuery} [$overlay=this.$element] Render the menu or popup into a 
separate layer.
  *  This configuration is useful in cases where the expanded menu is larger 
than
  *  its containing `<div>`. The specified overlay layer is usually on top of
  *  the containing `<div>` and has a larger area. By default, the menu uses

-- 
To view, visit https://gerrit.wikimedia.org/r/268071
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a75e9aa24ccbe8773b5d20ea6ec23bf48bbf420
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to