Expand all

ext.echo.mobile

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
List of notifications

notificationsOverlay(onBeforeExit) → {Overlay}inner #

Make a notification overlay

Parameters:

Name Type Description
onBeforeExit function
Source:

Returns:

Type
Overlay
Make a notification overlay

onBeforeExitAnimation(overlay, exit)inner #

Parameters:

Name Type Description
overlay Overlay
exit function
Source:

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:
Expand all

ext.echo.mobile

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
List of notifications

notificationsOverlay(onBeforeExit) → {Overlay}inner #

Make a notification overlay

Parameters:

Name Type Description
onBeforeExit function
Source:

Returns:

Type
Overlay
Make a notification overlay

onBeforeExitAnimation(overlay, exit)inner #

Parameters:

Name Type Description
overlay Overlay
exit function
Source:

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:
Expand all

ext.echo.mobile

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
List of notifications

notificationsOverlay(onBeforeExit) → {Overlay}inner #

Make a notification overlay

Parameters:

Name Type Description
onBeforeExit function
Source:

Returns:

Type
Overlay
Make a notification overlay

onBeforeExitAnimation(overlay, exit)inner #

Parameters:

Name Type Description
overlay Overlay
exit function
Source:

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:
Expand all

ext.echo.mobile

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
List of notifications

notificationsOverlay(onBeforeExit) → {Overlay}inner #

Make a notification overlay

Parameters:

Name Type Description
onBeforeExit function
Source:

Returns:

Type
Overlay
Make a notification overlay

onBeforeExitAnimation(overlay, exit)inner #

Parameters:

Name Type Description
overlay Overlay
exit function
Source:

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: