react-pdf-highlighter-plus

Type alias PdfHighlighterUtils

PdfHighlighterUtils: {
    clearSearch(): void;
    findNext(): void;
    findPrevious(): void;
    getCurrentSelection(): null | PdfSelection;
    getEventBus(): unknown;
    getGhostHighlight(): null | GhostHighlight;
    getLinkService(): unknown;
    getTip(): null | Tip;
    getViewer(): null | PDFViewer;
    goToPage(pageNumber): void;
    isEditInProgress(): boolean;
    isEditingOrHighlighting(): boolean;
    isSelectionInProgress(): boolean;
    removeGhostHighlight(): void;
    scrollToHighlight(highlight): void;
    search(query, options?): void;
    setTip(tip): void;
    toggleEditInProgress(flag?): void;
    updateTipPosition(): void;
}

A set of utilities for to control the behaviour of PdfHighlighter.

Type declaration