Extends
Methods
getActionData() → {Object}
#
Get the action data associated with this item
getConfirmationMessages() → {mw.echo.ui.MenuItemWidget.ConfirmationMessages}
#
Get the messages for the confirmation dialog We expect optionally two messages - title and description.
NOTE: The messages are parsed as HTML. If user-input is expected please make sure to properly escape it.
- Source:
Returns:
Messages for the confirmation dialog
Get the messages for the confirmation dialog We expect optionally two messages - title and description.
isDynamicAction() → {boolean}
#
This item is a dynamic action
- Source:
Returns:
Item is a dynamic action
- Type
- boolean
This item is a dynamic action
isPrioritized() → {boolean}
#
Check whether this item is prioritized
- Source:
Returns:
Item is prioritized
- Type
- boolean
Check whether this item is prioritized
Type Definitions
ConfirmationMessages
#
Type:
Properties:
Name | Type | Description |
---|---|---|
title |
string | Title for the confirmation dialog |
description |
string | Description for the confirmation dialog |
- Source: