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

    Interface DivaAnnotation

    A JSON Web Annotation accepted and returned by Diva's annotation API.

    target (or the IIIF Presentation 2 on alias) must identify a loaded Canvas and use either an xywh fragment/selector or an inline SVG selector.

    interface DivaAnnotation {
        id: string;
        type?: string;
        body?: unknown;
        target?: unknown;
        on?: unknown;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index
    id: string

    Stable Web Annotation identifier. Required when setting annotations.

    type?: string

    Usually "Annotation"; retained without interpretation.

    body?: unknown

    Web Annotation body, commonly a TextualBody or string.

    target?: unknown

    Web Annotation target.

    on?: unknown

    IIIF Presentation 2 alias for target.