CodeDialog
Editor Dialog
Code Editor Dialog from the Code package.
Loading CodeEditorDialog…
Source code
Waiting for the preview before loading source files · 2 of 2
Properties
Public properties derived from the component’s TypeScript signature.
| Property | Type | Default |
|---|---|---|
openRequired | boolean | — |
titleOptional | string | "Edit file" |
onCloseOptional | (() => void) | — |
fileNameRequired | string | — |
valueRequired | string | — |
languageOptional | string | — |
readOnlyOptional | boolean | — |
isDirtyOptional | boolean | — |
isSavingOptional | boolean | — |
heightOptional | CodeEditorHeight | — |
preferencesOptional | CodeEditorPreferences | — |
onChangeOptional | ((value: string) => void) | — |
onCopyOptional | (() => void) | — |
onSaveOptional | (() => void) | — |