# DialogType

**Kind**: enumeration | **Module**: [Workspaces](https://docs.interop.io/desktop/reference/javascript/workspaces/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/workspaces/dialogtype/index.html

Type of the dialog to show. Can be either a predefined io.Connect dialog type, or a custom one.

- `YesNo` - dialog with "Yes" and "No" buttons;
- `YesNoCancel` - dialog with "Yes", "No" and "Cancel" buttons;
- `OkCancel` - dialog with "OK" and "Cancel" buttons;
- `Ok` - dialog with an "OK" button;
- `Custom` - custom dialog;
- `SingleInputDialog` - dialog with a text input field;

## Members

- **`YesNo`**
- **`YesNoCancel`**
- **`OkCancel`**
- **`Ok`**
- **`Custom`**
- **`SingleInputDialog`**
