jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Bartosz Dziewoński: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I1a75e9aa24ccbe8773b5d20ea6ec23bf48bbf420
Gerrit-PatchSet: 2
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits