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

    Interface GUIOptions

    Base configuration for GUI initialization

    interface GUIOptions {
        title?: string;
        width?: number;
        closeFolders?: boolean;
        container?: HTMLElement;
        onClose?: () => void;
        closeButtonTitle?: string;
    }
    Index
    title?: string

    Title displayed at the top of the GUI panel

    width?: number

    Width of the GUI panel in pixels

    closeFolders?: boolean

    Whether folders should start closed

    container?: HTMLElement

    Parent container element (defaults to document.body)

    onClose?: () => void

    Callback when close button is clicked (if provided, shows close button)

    closeButtonTitle?: string

    Tooltip text for the close button (e.g., "Close (R)")