Diva.js Public API - v7.4.0
    Preparing search index...

    Type Alias DivaPageSelector

    DivaPageSelector:
        | { by: "canvasId"; value: string }
        | { by: "label"; value: string }

    A manifest-derived page lookup selector.

    Type Declaration

    • { by: "canvasId"; value: string }
      • by: "canvasId"

        Select by exact IIIF Canvas identifier.

      • value: string

        Canvas identifier to match.

    • { by: "label"; value: string }
      • by: "label"

        Select by complete, case-insensitive localized display label.

      • value: string

        Display label to match.

    Canvas identifiers match exactly. Labels match the complete localized label selected for display by Diva, case-insensitively. Labels are not trimmed or otherwise whitespace-normalized, and duplicate labels select the first page in manifest order.