CodeMirrorEditor.openDialog method
CodeMirrorEditor › openDialog
Unofficial
Open an interactive dialog in the editor.Signature:
openDialog(template: string, keyValidator: (keyValue: string) => boolean, options?: Partial<OpenDialogOptions> | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| template | string | The HTML template for the dialog. |
| keyValidator | (keyValue: string) => boolean | The function to validate key input. |
| options? | Partial<OpenDialogOptions> | undefined | The dialog options. |
Returns: void