Classes
- NotificationsFilterOverlay
- Overlay for notifications filter
Methods
init()inner
#
This code loads the necessary modules for the notifications overlay, not to be confused with the Toast notifications defined by common/toast.js.
- Source:
This code loads the necessary modules for the notifications overlay, not to be confused with the Toast notifications defined by common/toast.js.
notificationsList(echo, markAllReadButton, onCountChange) → {View}inner
#
List of notifications
Parameters:
Name | Type | Description |
---|---|---|
echo |
mw.echo | class |
markAllReadButton |
OO.ui.ButtonWidget | a button that will be associated with the read status of the notifications list. |
onCountChange |
module:ext.echo.mobile.FunctionCountChangeCallback | callback. |
- Source:
Returns:
- Type
- View
notificationsOverlay(onBeforeExit) → {Overlay}inner
#
Make a notification overlay
Parameters:
Name | Type | Description |
---|---|---|
onBeforeExit |
function |
- Source:
Returns:
- Type
- Overlay
onBeforeExitAnimation(overlay, exit)inner
#
onCloseNotificationsOverlay()inner
#
onCountChange(count)inner
#
Parameters:
Name | Type | Description |
---|---|---|
count |
number | a capped (0-99 or 99+) count. |
- Source:
onOpenNotificationsOverlay()inner
#
Type Definitions
FunctionCountChangeCallback(count)
#
Parameters:
Name | Type | Description |
---|---|---|
count |
number | a capped (0-99 or 99+) count |
- Source: