Exposes a method for converting a messagebox to a notification.
Methods
(require("mediawiki.notification.convertmessagebox"))([options])inner
#
Convert a messagebox to a notification.
Example
const convertmessagebox = require( 'mediawiki.notification.convertmessagebox' );
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional |
Options Properties:
|
Convert a messagebox to a notification.