Extends
Constructor
new mw.echo.ui.ConfirmationPopupWidget([config])
#
Confirmation overlay widget, especially for mobile display. The behavior of this widget is to appear with a given confirmation message and then disappear after a given interval.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
config |
Object |
optional |
Configuration object |
Confirmation overlay widget, especially for mobile display.
Methods
hide()private
#
Hide the widget by fading it out
Hide the widget by fading it out
setLabel(label)
#
Delegate to labelWidget.setLabel()
Parameters:
Name | Type | Description |
---|---|---|
label |
jQuery
|
string
|
OO.ui.HtmlSnippet
|
function
|
null
|
Label nodes; text; a function that returns nodes or text; or null for no label |
Delegate to labelWidget.setLabel()
showAnimated()
#
Show the widget and then animate its fade out.
Show the widget and then animate its fade out.