Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Properties

Variables

Type aliases

AppState

AppState: typeof initState

Properties

default

default: { getters: { isSaved: ComputedRef<boolean> }; state: { autoPreview: boolean; currentContent: string; currentFile: undefined | null | { type: "file" | "dir"; name: string; content?: string | undefined; title?: string | undefined; passwordHash?: string | undefined; contentHash?: string | undefined; stat?: { mtime: number; birthtime: number; size: number; } | undefined; ... 4 more ...; path: string; }; currentRepo: undefined | { name: string; path: string; }; editor: string; editorPreviewExclusive: boolean; inComposition: boolean; isFullscreen: boolean; presentation: boolean; previewer: string; recentOpenTime: { [x: string]: number; }; showEditor: boolean; showExport: boolean; showOutline: boolean; showSetting: boolean; showSide: boolean; showView: boolean; showXterm: boolean; syncScroll: boolean; tabs: { payload: { file: { type: "file" | "dir"; name: string; content?: string | undefined; title?: string | undefined; passwordHash?: string | undefined; contentHash?: string | undefined; ... 5 more ...; path: string; } | null; }; ... 5 more ...; class?: string | undefined; }[]; tree: null | { mtime?: number | undefined; birthtime?: number | undefined; marked?: boolean | undefined; children?: ...[] | undefined; level: number; name: string; repo: string; path: string; type: "file" | "dir"; }[]; treeSort: { by: "name" | "serial" | "mtime" | "birthtime"; order: "desc" | "asc"; }; typewriterMode: boolean; wordWrap: "off" | "on" }; watch: { <T, Immediate>(sources: [...T[]], cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle; <T, Immediate>(source: T, cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle; <T, Immediate>(source: WatchSource<T>, cb: WatchCallback<T, Immediate extends true ? undefined | T : T>, options?: WatchOptions<Immediate>): WatchStopHandle; <T, Immediate>(source: T, cb: WatchCallback<T, Immediate extends true ? undefined | T : T>, options?: WatchOptions<Immediate>): WatchStopHandle }; watchEffect: (effect: WatchEffect, options?: WatchOptionsBase) => WatchStopHandle }

Type declaration

  • getters: { isSaved: ComputedRef<boolean> }
  • state: { autoPreview: boolean; currentContent: string; currentFile: undefined | null | { type: "file" | "dir"; name: string; content?: string | undefined; title?: string | undefined; passwordHash?: string | undefined; contentHash?: string | undefined; stat?: { mtime: number; birthtime: number; size: number; } | undefined; ... 4 more ...; path: string; }; currentRepo: undefined | { name: string; path: string; }; editor: string; editorPreviewExclusive: boolean; inComposition: boolean; isFullscreen: boolean; presentation: boolean; previewer: string; recentOpenTime: { [x: string]: number; }; showEditor: boolean; showExport: boolean; showOutline: boolean; showSetting: boolean; showSide: boolean; showView: boolean; showXterm: boolean; syncScroll: boolean; tabs: { payload: { file: { type: "file" | "dir"; name: string; content?: string | undefined; title?: string | undefined; passwordHash?: string | undefined; contentHash?: string | undefined; ... 5 more ...; path: string; } | null; }; ... 5 more ...; class?: string | undefined; }[]; tree: null | { mtime?: number | undefined; birthtime?: number | undefined; marked?: boolean | undefined; children?: ...[] | undefined; level: number; name: string; repo: string; path: string; type: "file" | "dir"; }[]; treeSort: { by: "name" | "serial" | "mtime" | "birthtime"; order: "desc" | "asc"; }; typewriterMode: boolean; wordWrap: "off" | "on" }
    • autoPreview: boolean
    • currentContent: string
    • currentFile: undefined | null | { type: "file" | "dir"; name: string; content?: string | undefined; title?: string | undefined; passwordHash?: string | undefined; contentHash?: string | undefined; stat?: { mtime: number; birthtime: number; size: number; } | undefined; ... 4 more ...; path: string; }
    • currentRepo: undefined | { name: string; path: string; }
    • editor: string
    • editorPreviewExclusive: boolean
    • inComposition: boolean
    • isFullscreen: boolean
    • presentation: boolean
    • previewer: string
    • recentOpenTime: { [x: string]: number; }
    • showEditor: boolean
    • showExport: boolean
    • showOutline: boolean
    • showSetting: boolean
    • showSide: boolean
    • showView: boolean
    • showXterm: boolean
    • syncScroll: boolean
    • tabs: { payload: { file: { type: "file" | "dir"; name: string; content?: string | undefined; title?: string | undefined; passwordHash?: string | undefined; contentHash?: string | undefined; ... 5 more ...; path: string; } | null; }; ... 5 more ...; class?: string | undefined; }[]
    • tree: null | { mtime?: number | undefined; birthtime?: number | undefined; marked?: boolean | undefined; children?: ...[] | undefined; level: number; name: string; repo: string; path: string; type: "file" | "dir"; }[]
    • treeSort: { by: "name" | "serial" | "mtime" | "birthtime"; order: "desc" | "asc"; }
    • typewriterMode: boolean
    • wordWrap: "off" | "on"
  • watch: { <T, Immediate>(sources: [...T[]], cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle; <T, Immediate>(source: T, cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle; <T, Immediate>(source: WatchSource<T>, cb: WatchCallback<T, Immediate extends true ? undefined | T : T>, options?: WatchOptions<Immediate>): WatchStopHandle; <T, Immediate>(source: T, cb: WatchCallback<T, Immediate extends true ? undefined | T : T>, options?: WatchOptions<Immediate>): WatchStopHandle }
  • watchEffect: (effect: WatchEffect, options?: WatchOptionsBase) => WatchStopHandle

Variables

initState

initState: { autoPreview: boolean; currentContent: string; currentFile: undefined | null | Doc; currentRepo: undefined | Repo; editor: string; editorPreviewExclusive: boolean; inComposition: boolean; isFullscreen: boolean; presentation: boolean; previewer: string; recentOpenTime: Record<string, number>; showEditor: boolean; showExport: boolean; showOutline: boolean; showSetting: boolean; showSide: boolean; showView: boolean; showXterm: boolean; syncScroll: boolean; tabs: Components.FileTabs.Item[]; tree: null | Components.Tree.Node[]; treeSort: FileSort; typewriterMode: boolean; wordWrap: "off" | "on" } = ...

Type declaration

  • autoPreview: boolean
  • currentContent: string
  • currentFile: undefined | null | Doc
  • currentRepo: undefined | Repo
  • editor: string
  • editorPreviewExclusive: boolean
  • inComposition: boolean
  • isFullscreen: boolean
  • presentation: boolean
  • previewer: string
  • recentOpenTime: Record<string, number>
  • showEditor: boolean
  • showExport: boolean
  • showOutline: boolean
  • showSetting: boolean
  • showSide: boolean
  • showView: boolean
  • showXterm: boolean
  • syncScroll: boolean
  • tabs: Components.FileTabs.Item[]
  • tree: null | Components.Tree.Node[]
  • treeSort: FileSort
  • typewriterMode: boolean
  • wordWrap: "off" | "on"

Generated using TypeDoc