Shell.UI.Notifications.js
Applies To: Windows Azure Pack
Provides methods to add notifications to the drawer or remove them from the drawer.
For more information on each type notification, see Shell.UI.Notifications.Confirmation.js, Shell.UI.Notifications.Notification.js, and Shell.UI.Notifications.Progress.js.
Widgets
None.
Enums
Name |
Fields |
---|---|
Shell.UI.Notifications.Severity error |
Error severity |
Shell.UI.Notifications.Severity information |
Information severity |
Shell.UI.Notifications.Severity warning |
Warning severity |
Properties
None.
Methods
Name |
Description |
Returns |
Parameters |
---|---|---|---|
Shell.UI.Notifications.add |
Displays a notification to the user. |
Nothing |
notification (String): Notification. |
Shell.UI.Notifications.addNotificationProcessor |
Adds a notification processor. |
Nothing |
notificationProcessor: The notification processor to be added. |
Shell.UI.Notifications.removeNotificationProcessor |
Removes a notification. |
Nothing |
NotificationProcessor: The notification processor to be removed. |
Shell.UI.Notifications.remove |
Removes a notification processor. |
Nothing |
Notification: The notification to be removed. |
Shell.UI.Notifications.Buttons.cancel |
Sets the Cancel button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.close |
Sets the Close button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.copy |
Sets the Copy button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.details |
Sets the Details button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.escalate |
Sets the Escalate button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.moreInfo |
Sets the More Info button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.no |
Sets the No button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.ok |
Sets the Ok button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.pause |
Sets the Pause button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.retry |
Sets the Retry button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.save |
Sets the Save button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.scale |
Sets the Scale button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.stop |
Sets the Stop button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.Buttons.yes |
Sets the Yes button callback function. |
Object |
callback: The button callback function. |
Shell.UI.Notifications.ButtonSets.yesNo |
Sets the Yes/No button set callback function. |
Object |
callbackYes: The yes button callback function. callbackNo: the no button callback function. |
Shell.UI.Notifications.ButtonSets.yesNoCancel |
Sets the Yes/No/Cancel button set callback function. |
Object |
callbackYes: the yes button callback function. callbackNo: the no button callback function. callBackCancel: The cancel button callback. |