Options for a modal dialog web item target or common module.
These options are a subset of those available via the JavaScript API.
1 2 3 4 5 6 7 8 9 10
{
"target": {
"type": "dialog",
"options": {
"height": "100px",
"width": "200px"
}
}
}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{
"modules": {
"dialogs": [
{
"url": "/my-dialog-content",
"options": {
"size": "fullscreen",
"header": {
"value": "Example Dialog"
}
},
"key": "dialog-module-key"
}
]
}
}
chrome
Type | |
Defaults to | true |
Description | Whether the dialog should contain the AUI header and buttons. |
header
Type | |
Description | The header text for the dialog, if chrome is enabled. Represents a string that can be resolved via a localization properties file. You can use the same Example1 2 3 4
|
value |
| ||||||||
i18n |
|
height
Type | |
Max length | 10 |
Description | Sets how high the dialog is in pixels |
size
Type | |
Allowed values |
|
Description | Sets the size of the dialog. This option is used instead of the 'height' and 'width' options. |
width
Type | |
Max length | 10 |
Description | Sets how wide the dialog is in pixels. |
Rate this page: