kernl API
    Preparing search index...

    Interface WindowManagerOptions

    Options for createWindowManager.

    interface WindowManagerOptions {
        area?: Rect;
        compactWidth?: number;
        layout?: string;
        layouts?: LayoutRegistry;
        minSize?: WindowSize;
        now?: () => number;
        onLayout?: (id: string) => void;
        windowSize?: WindowSize;
    }
    Index
    area?: Rect

    The rectangle to lay windows out in until setArea is called. Defaults to 1280 by 800 at the origin.

    compactWidth?: number

    At or below this area width every window fills the area. Defaults to 720; 0 turns it off.

    layout?: string

    The id of the layout to start in. Defaults to the first registered; an id that is not registered is ignored.

    layouts?: LayoutRegistry

    The layouts on offer. Defaults to createDefaultLayouts().

    minSize?: WindowSize

    The smallest a window may be made. Defaults to 280 by 160.

    now?: () => number

    Clock for msSinceFocusGain. Defaults to Date.now.

    onLayout?: (id: string) => void

    Called with the id after every setLayout, so the choice can be remembered.

    windowSize?: WindowSize

    The size a new window opens at. Defaults to 720 by 660.