SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface WindowChromeOptions

    interface WindowChromeOptions {
        confirmOnClose?: boolean;
        documentTitle?: string | boolean;
        keyboardGuard?: boolean | string[];
    }

    Hierarchy (View Summary)

    Index
    confirmOnClose?: boolean

    When true (default), install a beforeunload guard that prompts the browser's "leave site / unsaved changes" dialog while the workbook is dirty.

    documentTitle?: string | boolean

    Manage document.title from the workbook name + a leading ● when there are unsaved changes.

    • true (default): capture the current document.title as the base (e.g. the app name).
    • a string: use it as the base.
    • false: leave document.title alone.

    The title becomes "<name> - <base>" (or just "<base>" for an unnamed workbook), with a leading "● " while dirty.

    keyboardGuard?: boolean | string[]

    Suppress browser keyboard shortcuts so they don't fire the browser instead of the app.

    • true (default): the DEFAULT_GUARD_KEYS (Ctrl/Cmd + O/S/W/N/T/M) plus Alt+Arrows.
    • a string array: those keys (with Ctrl/Cmd), plus Alt+Arrows.
    • false: don't touch the keyboard.