mw.notification

Send notifications to end users.

Show:

Methods

(static) notify(message, optionsopt) → {Notification}

...

Display a notification message to the user.

Parameters:
Name Type Attributes Description
message HTMLElement | Array.<HTMLElement> | jQuery | Message | string
options Object <optional>

The options to use for the notification. See #defaults for details.

Source:
Returns:

Notification object

Type
Notification

(static) pause()

...

Pause auto-hide timers for all notifications. Notifications will not auto-hide until resume is called.

Source:
See:

(static) resume()

...

Resume any paused auto-hide timers from the beginning. Only the first #autoHideLimit timers will be resumed.

Source: