Dialogs Service
Use the dialogs
service to create modal windows (e.g. to open a modal window from a button registered at a room level).
The following methods are available on the dialogs
service:
show
rerender
hide
The following picture is an example of what you will be able to create with this service - this module will overlay onto the entire Symphony client window:
show()
Presents a modal dialog to the user:
Parameter | Type | Description |
id | String | A unique id for the dialog. |
serviceName | String | The name of a local application-implemented service implemented. |
template | String | The extensionML for the dialog content. |
data | String | The data for the extensionML. |
options | Object | The data for the extensionML |
rerender()
Changes the contents of the dialog. This is usually invoked when the user has performed some action:
Parameter | Type | Description |
id | String | The id of the dialog that should be updated. |
template | String | The new extensionML content to display. |
data | String | The data for the extensionML. |
close()
Parameters | Type | Description |
id | String | The id of the dialog to close. |
Last updated