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

    Dependencies the overlay needs from its owning ControlRail.

    interface RailOverlayDeps {
        root: HTMLElement;
        container: HTMLElement;
        onOverlayChange: () => void;
        wake: () => void;
    }
    Index
    root: HTMLElement

    The rail root — overlays are appended here and positioned relative to it.

    container: HTMLElement

    The viewer container — scope for isPanelVisible chip checks.

    onOverlayChange: () => void

    Called after every open/close so the rail re-syncs button active-state.

    wake: () => void

    Wake the rail (undim) — called on open.