Class: NotificationsOverlay

NotificationsOverlay(params)

new NotificationsOverlay(params)

Overlay for notifications

Parameters:
Name Type Description
params Object

Configuration options

Source:

Members

defaults

Properties:
Name Type Description
defaults Object

Default options hash.

Properties
Name Type Description
heading string

Heading text.

Mixes In:
Source:

Methods

checkShowMarkAllRead()

Toggle mark all read button

Source:

isDoneLoading() → {boolean}

Check if notifications have finished loading

Source:
Returns:

Notifications list has finished loading

Type
boolean

onMarkAllReadButtonClick()

Respond to mark all read button click

Source:

onUnreadCountChange(count)

Update the unread number on the notifications badge

Parameters:
Name Type Description
count number

Number of unread notifications

Source:

postRender()

Source:

preRender()

Source:

setDoneLoading()

Set done loading flag for notifications list

Source: