Namespace: Alerting

Alerting

Alerting system that responds to given events. Used to have same alert all over the portal.

Events

changePosition

devtools/jsdoc/events.js, line 99
Triggered when Model attribute position has changed.
Name Type Description
model Backbone/Model The model whose attribute hat changed.
value Boolean The attribute value that has changed.

RadioTriggerAlertAlert

devtools/jsdoc/events.js, line 112
Name Type Description
alert String/Object The alert object or string needed to create the alert.
Listeners of This Event:
Example
Radio.trigger("Alert", "alert", alert)

RadioTriggerAlertAlertRemove

devtools/jsdoc/events.js, line 118
Example
Radio.trigger("Alert", "alert:remove")

RadioTriggerAlertClosed

devtools/jsdoc/events.js, line 123
Name Type Description
id String The id of the alert that has been closed.
Example
Radio.trigger("Alert", "closed", id)

RadioTriggerAlertConfirmed

devtools/jsdoc/events.js, line 129
Name Type Description
id String The id of the alert that has been confirmed.
Listeners of This Event:
Example
Radio.trigger("Alert", "confirmed", id)

render

devtools/jsdoc/events.js, line 106
Triggered when View has to render.
Example
this.trigger("render")