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

    Interface HoverTemplateValues

    Values a picked element contributes to the vocabulary.

    interface HoverTemplateValues {
        label?: string | null;
        key?: string | null;
        nodeName: string;
        elementIndex: number;
    }
    Index
    label?: string | null

    The element's label, or null/empty when it has none.

    key?: string | null

    The element's machine-readable key, or null/empty when it has none (issue #1917).

    Separate from label because in practice they are different strings: a label is composite prose a reader sees ("P04637 · DNA-binding cluster"), while a link needs the bare id ("P04637"). Folding one into the other means either a degraded tooltip or an unusable URL.

    nodeName: string

    Reported layer path — the outermost kind=partition wrapper if any.

    elementIndex: number

    Element index within the hit leaf.