GeoLeaf Core API - v3.19.0
    Preparing search index...

    Interface PaneHost

    A surface able to display a pane — the desktop panel, or the mobile sheet.

    interface PaneHost {
        id: string;
        priority?: number;
        isActive(): boolean;
        open(paneId: string): boolean;
        close(): void;
        sync?(): void;
    }
    Index
    id: string

    Host identifier, for diagnostics and idempotent re-registration.

    priority?: number

    Order of consultation among live hosts. Lower is asked first.

    0

    🛑 Explicit, because registration order is NOT something either host controls. It had been left implicit, with a comment asserting the desktop panel registered first — and the comment was simply false: hosts register when their module is imported, and globals.ui.ts imports the mobile toolbar before the desktop panel. Measured in a real browser at 1600px: openPane answered true and getOpenPanel() answered null, because the full-screen sheet had opened over a desktop that has a side panel.

    • Rebuilds this host from the current pane list.

      ⚠️ Optional but load-bearing: a plugin may register its pane AFTER the host was built — the bundle load order is not something either side controls. Without this, such a pane would exist in the registry and nowhere on screen, silently.

      Returns void