Properties
Optional
defaultPath
defaultPath?: string
Optional
defaultTheme
defaultTheme?: string
Optional
extraLibs
extraLibs?: {
path: string;
url: string;
}[]
Optional
ideConfig
ideConfig?: {
disableEslint?: boolean;
disableFileOps?: {
add?: boolean;
delete?: boolean;
rename?: boolean;
};
disableFolderOps?: {
add?: boolean;
delete?: boolean;
rename?: boolean;
};
disablePrettier?: boolean;
disableSearch?: boolean;
disableSetting?: boolean;
saveWhenBlur?: boolean;
useFileMenu?: boolean;
}
Type declaration
-
Optional
disableEslint?: boolean
-
Optional
disableFileOps?: {
add?: boolean;
delete?: boolean;
rename?: boolean;
}
-
Optional
add?: boolean
-
Optional
delete?: boolean
-
Optional
rename?: boolean
-
Optional
disableFolderOps?: {
add?: boolean;
delete?: boolean;
rename?: boolean;
}
-
Optional
add?: boolean
-
Optional
delete?: boolean
-
Optional
rename?: boolean
-
Optional
disablePrettier?: boolean
-
Optional
disableSearch?: boolean
-
Optional
disableSetting?: boolean
-
Optional
saveWhenBlur?: boolean
-
Optional
useFileMenu?: boolean
Optional
onFileChange
onFileChange?: ((type, info?) => void)
Type declaration
-
- (type, info?): void
-
Parameters
-
-
Optional
info: {
filename?: string;
newfilename?: string;
newpath?: string;
newvalue?: string;
path?: string;
value?: string;
}
-
Optional
filename?: string
-
Optional
newfilename?: string
-
Optional
newpath?: string
-
Optional
newvalue?: string
-
Optional
path?: string
-
Optional
value?: string
Returns void
Optional
onFileSave
onFileSave?: ((key, value) => void)
Type declaration
-
- (key, value): void
-
Parameters
-
key: string
-
value: string
Returns void
Optional
onPathChange
onPathChange?: ((key) => void)
Optional
onRenameFile
onRenameFile?: ((oldpath, newpath) => void)
Type declaration
-
- (oldpath, newpath): void
-
Parameters
-
oldpath: string
-
newpath: string
Returns void
Optional
onValueChange
onValueChange?: ((v, path) => void)
Type declaration
-
- (v, path): void
-
Returns void
options
options: IStandaloneEditorConstructionOptions
Optional
title
title?: string