Expand all

mw.notification.Notification

Describes a notification. See mw.notification module. A Notification object for 1 message.

Methods

close() #

Close the notification.

Source:
Close the notification.

pause() #

Pause any running auto-hide timer for this notification.

Source:
Pause any running auto-hide timer for this notification.

resume() #

Start autoHide timer if not already started. Does nothing if autoHide is disabled. Either to resume from pause or to make the first start.

Source:
Start autoHide timer if not already started.