Circle V2 API Docs
    Preparing search index...

    Type Alias FieldSelectionStore

    type FieldSelectionStore = {
        forgetPdfSelectedRow: () => void;
        getSelectedId: () => string | null;
        registerBoxRef: (id: string, element: HTMLElement | null) => void;
        registerRowRef: (id: string, element: HTMLElement | null) => void;
        select: (id: string | null, source: SelectionSource) => void;
        setBoxMissingHandler: (handler: BoxMissingHandler | null) => void;
        subscribe: (listener: () => void) => () => void;
    }
    Index

    Properties

    forgetPdfSelectedRow: () => void
    getSelectedId: () => string | null
    registerBoxRef: (id: string, element: HTMLElement | null) => void

    Registers (or, with null, unregisters) a field's overlay box element on the PDF side.

    registerRowRef: (id: string, element: HTMLElement | null) => void

    Registers (or, with null, unregisters) a field's row element on the panel side.

    select: (id: string | null, source: SelectionSource) => void

    Selects a field and brings its row (pdf, link) or its box (panel) into view; null clears.

    setBoxMissingHandler: (handler: BoxMissingHandler | null) => void

    Sets (or, with null, clears) what to do when a panel selection's box is not mounted.

    subscribe: (listener: () => void) => () => void