Constructor
new ModalDialog(content, optionsopt)
- Description:
- Creates a new ModalDialog
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
content |
Node | The content to place inside the Dialog | |
options |
ModalDialog~ModalDialogOptions |
<optional> |
Type Definitions
ModalDialogOptions
- Source:
Properties:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
title |
string |
<optional> |
""
|
The dialog title |
closeOnOutsideClick |
boolean |
<optional> |
true
|
Automatically close the dialog when clicking outside the dialog |
closeOnEscape |
boolean |
<optional> |
true
|
Automatically close the dialog when ESCAPE is pressed |
autoStackButtons |
boolean |
<optional> |
true
|
Automatically stack buttons if they do not fit horizontally |
Type:
- Object