Argument | Description | Types / Required |
---|---|---|
width | All display option arguments are described in a table below. | number, string not required |
height | number, string not required | |
resizable | boolean not required | |
borderColor | string not required | |
titleBarColor | string not required | |
titleBarHeight | number not required | |
keyboard | boolean not required |
Property | Platform | Value |
---|---|---|
"width" | All | The desired width, in display units or a percent, of the dialog. |
"height" | All | The desired height, in display units or a percent, of the dialog, or the question text (on Windows only). |
"resizable" | Windows | If true, the dialog can be resized. |
"borderColor" | Windows | The color of the dialog border, which can be specified as a HTML color name (like "red") or a hex color code (like "#ff0000"). |
"titleBarColor" | Windows | The color of the dialog's title bar. |
"titleBarHeight" | Windows | The height, in display units, of the dialog's title bar. |
"keyboard" | Android | If true, the soft keyboard is brought to the forefront when the dialog is shown. |