Expand all

mw.echo.ui.ConfirmationPopupWidget

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

Source:
Confirmation overlay widget, especially for mobile display.

Methods

hide()private #

Hide the widget by fading it out

Source:
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

Source:
Delegate to labelWidget.setLabel()

showAnimated() #

Show the widget and then animate its fade out.

Source:
Show the widget and then animate its fade out.