Dotloom TypeScript API
    Preparing search index...

    Interface FileHooks

    @dotloomjs/react — optional React editor for Dotloom.

    Use <DotloomEditor> for the complete reference editor, or compose your own UI from the panels and hooks inside an EditorProvider. Import the styles once: import '@dotloomjs/react/styles.css'.

    interface FileHooks {
        error: (title: string, err: unknown) => void;
        missing: (types: string[]) => void;
        name: () => string;
        restoreView: (v: unknown) => void;
        setName: (n: string) => void;
        view: () => unknown;
    }
    Index
    error: (title: string, err: unknown) => void

    Report an error to the user.

    missing: (types: string[]) => void

    Missing plugin types after loading.

    name: () => string

    Current document name (ev-plani.dotl).

    restoreView: (v: unknown) => void
    setName: (n: string) => void
    view: () => unknown

    View state to store in .dotl.