Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Interface CustomPanelContext

    What ?panel=<module> receives.

    The supported way to replace this page without forking it: a module default- exporting mount gets a live, already-connected socket and the body to draw into, and does whatever it likes. The wire protocol (docs/guides/specs/REMOTE_CONTROL_SPEC.md §3.2) is the stable contract underneath; this object just saves a custom panel from re-implementing the connection and the reconnect.

    interface CustomPanelContext {
        socket: ControllerSocket;
        root: HTMLElement;
        params: UrlParams;
    }
    Index
    root: HTMLElement
    params: UrlParams

    The page's URL parameters, already validated.