FrameDialogOptionsinterface
Options for showing a dialog from the Workspaces Frame.
Properties (23)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| affirmativeButtonName⚓︎ | string | x | x | Name for the affirmative response button. |
| blur⚓︎ | boolean | false | x | If |
| cancelButtonName⚓︎ | string | x | x | Name for the canceling button. |
| context⚓︎ | unknown | x | x | Context data that can be used by a custom dialog. |
| defaultAction⚓︎ | "affirmative" | "negative" | "cancel" | x | x | Determines which dialog button to be the default one.
The action tied to the default button will be executed when the user presses |
| inputMaxLength⚓︎ | number | x | x | The amount of characters that can be entered in the input field of a |
| inputPattern⚓︎ | string | x | x | String pattern that serves as a regular expression for validating the input from the user in a |
| inputPatternErrorMessage⚓︎ | string | x | x | Error message to be displayed if the user input doesn't match the specified validation pattern for a |
| inputPlaceholder⚓︎ | string | x | x | Placeholder that will be displayed in the input field of a |
| message⚓︎ | string | x | Message to the user that the dialog will contain. |
|
| messageTitle⚓︎ | string | x | x | Title for the message that will be displayed in the dialog. |
| mode⚓︎ | DialogMode | x | x | Mode for the dialog. |
| movable⚓︎ | boolean | true | x | If |
| negativeButtonName⚓︎ | string | x | x | Name for the negative response button. |
| showAffirmativeButton⚓︎ | boolean | false | x | If |
| showCancelButton⚓︎ | boolean | false | x | If |
| showNegativeButton⚓︎ | boolean | false | x | If |
| showTimer⚓︎ | boolean | false | x | If |
| size⚓︎ | Size | x | x | Size for the dialog to show. |
| timerDuration⚓︎ | number | x | x | Interval in seconds after which the dialog will close automatically.
If |
| title⚓︎ | string | x | x | Title for the dialog that will be displayed in the dialog header. |
| transparent⚓︎ | boolean | false | x | If |
| type⚓︎ | DialogType | string | x | Type of the dialog to show. Can be either a predefined io.Connect dialog type, or a custom one. |