API Docs for:
Show:

NotificationsBaseView Class

Module: views.notifications
Parent Module: views

Abstract base class used to view a ModelList of notifications.

Methods

addNotifier

(
  • ev
)
Undefined

Create and display a notifier widget when a notification is added. The notifier is created only if: - the notifier box exists in the DOM; - the notification is a local one (not related to the delta stream); - the notification is an error.

Parameters:

  • ev Object

    An event object (with a "model" attribute).

Returns:

Undefined: Mutates only.

notificationSelect

()

Select/click on a notice. Currently this just removes it from the model_list.

notifyToggle

()

Event handler for clicking the notification icon.

slowRender

()

A flow of events can trigger many renders, from the event system we debounce render requests with this method.

Attributes

nsRouter

Applications router utility methods