TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

CreateDialog

Modal dialog for creating certain item (file, folder, etc.). The user gets the full acess to the functionality but cannot control the layout.

Interface: ICreateDialog.

Example
const createDialogProps = {
    "title": "Create diagram",
    "startValue": "New diagram",
    "visible": true,
    "isCreateDialog": true,
    "extension": ".drawio",
    "onSave": async (e: any, value: string) => {},
    "onCancel": (e: any) => {},
    "onClose": (e: any) => {},
};