Shell.UI.Notifications.Confirmation.js
Applies To: Windows Azure Pack
Creates a UI confirmation to be displayed above the drawer.
Confirmations are modal and require the user to execute an action.
Once the confirmation notification is created, you can add it with the add method in Shell.UI.Notifications.js.
Widgets
None.
Types
Shell.UI.Notifications.Confirmation(title)
Name |
Type |
Description |
---|---|---|
title |
String |
The title. |
Properties
None.
Methods
Name |
Description |
Returns |
Parameters |
---|---|---|---|
Shell.UI.Notifications.Confirmation.setActions |
Changes the action buttons available with the confirmation. |
Nothing |
actions (Array): Action array containing objects that have the following key:
focus (Number): Index of the button to focus. If not specified, select the last one. |
Shell.UI.Notifications.Confirmation.setDetailsText |
Sets the details text. |
Nothing |
text (String): The text. |
Shell.UI.Notifications.Confirmation.setDetailsUrl |
Sets the details iframe url. |
Nothing |
url (String): The URL. |
Shell.UI.Notifications.Confirmation.setTitle |
Sets the title. |
Nothing. |
title (String): The title. |
Shell.UI.Notifications.Confirmation.sync |
Begins synchronization |
Nothing. |
None. |
Shell.UI.Notifications.Confirmation.toJSON |
Converts supplied parameters to JSON. |
widgetOptions. An object with the following members: title: The title detailsText: Details text detailsUrl: The URL to the details. actions: An array of actions. Focus: the focus. |
a: First Parameter b: Second Parameter c: Third Parameter |