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

    Type Alias ContextChip

    ContextChip: (
        labelText: string,
        selected: boolean,
        onPick: () => void,
        opts?: { tooltip?: string; mono?: boolean; grow?: boolean },
    ) => HTMLButtonElement

    The context menu's chip factory (see showContextMenu).

    Type Declaration

      • (
            labelText: string,
            selected: boolean,
            onPick: () => void,
            opts?: { tooltip?: string; mono?: boolean; grow?: boolean },
        ): HTMLButtonElement
      • Parameters

        • labelText: string
        • selected: boolean
        • onPick: () => void
        • Optionalopts: { tooltip?: string; mono?: boolean; grow?: boolean }

        Returns HTMLButtonElement