NotificationsBaseView Class
Abstract base class used to view a ModelList of notifications.
Methods
addNotifier
(
Undefined
-
ev
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:
-
evObjectAn 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.
