Class CQ.Notification
| Package: | CQ |
| Class: | Notification |
| Extends: | Object |
| Clientlib: | cq.widgets |
A facility to display notifications such as server responses on the screen.
This class is a singleton and cannot be created directly.
Public Properties
This class has no public properties.
Public Methods
| |
notify( String title, String msg, [Number time], [Boolean xssProtect] ) : void
<static> Displays a notification using the specified title and message.
<static> Displays a notification using the specified title and message.
Parameters:
title : StringThe title of the notification msg : StringThe message of the notification time : Number(optional) The number of seconds to show
the notification (defaults to 4). xssProtect : Boolean(optional) True if message has to be
XSS protected.
Returns:
|
Notification |
| |
notifyFromResponse( Object response, [Number time], [Boolean xssProtect] ) : void
<static> Displays a notification based on the specified response object.
<static> Displays a notification based on the specified response object.
|
Notification |
Public Events
This class has no public events.