Hierarchy

  • MultiEditorIProps

Properties

defaultFiles?: filelist
defaultPath?: string
defaultTheme?: string
extraLibs?: {
    path: string;
    url: string;
}[]
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
onFileChange?: ((type, info?) => void)

Type declaration

    • (type, info?): void
    • Parameters

      • type: FileChangeType
      • 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

onFileSave?: ((key, value) => void)

Type declaration

    • (key, value): void
    • Parameters

      • key: string
      • value: string

      Returns void

onPathChange?: ((key) => void)

Type declaration

    • (key): void
    • Parameters

      • key: string

      Returns void

onRenameFile?: ((oldpath, newpath) => void)

Type declaration

    • (oldpath, newpath): void
    • Parameters

      • oldpath: string
      • newpath: string

      Returns void

onValueChange?: ((v, path) => void)

Type declaration

    • (v, path): void
    • Parameters

      • v: string
      • path: string

      Returns void

options: IStandaloneEditorConstructionOptions
title?: string

Generated using TypeDoc