VolkerE has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/404885 )
Change subject: Replace 'alert' indicator as it's deprecated
......................................................................
Replace 'alert' indicator as it's deprecated
Bug: T185158
Depends-on: I03db8b069bf6c0f66148fc92ed9f21d28b2135e6
Change-Id: I17e05c1c75a343c7172e6a71d52de475d6d34147
---
M src/widgets/IndicatorWidget.js
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/85/404885/1
diff --git a/src/widgets/IndicatorWidget.js b/src/widgets/IndicatorWidget.js
index 20b88c6..383848c 100644
--- a/src/widgets/IndicatorWidget.js
+++ b/src/widgets/IndicatorWidget.js
@@ -1,18 +1,18 @@
/**
* IndicatorWidgets create indicators, which are small graphics that are
generally used to draw
- * attention to the status of an item or to clarify the function of a control.
For a list of
+ * attention to the status of an item or to clarify the function within a
control. For a list of
* indicators included in the library, please see the [OOUI documentation on
MediaWiki][1].
*
* @example
* // Example of an indicator widget
* var indicator1 = new OO.ui.IndicatorWidget( {
- * indicator: 'alert'
+ * indicator: 'required'
* } );
*
* // Create a fieldset layout to add a label
* var fieldset = new OO.ui.FieldsetLayout();
* fieldset.addItems( [
- * new OO.ui.FieldLayout( indicator1, { label: 'An alert indicator:' }
)
+ * new OO.ui.FieldLayout( indicator1, { label: 'A required indicator:'
} )
* ] );
* $( 'body' ).append( fieldset.$element );
*
--
To view, visit https://gerrit.wikimedia.org/r/404885
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I17e05c1c75a343c7172e6a71d52de475d6d34147
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: VolkerE <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits