ComPDFKit Web SDK
    Preparing search index...

    Type Alias CustomMultiViewerSyncHandler

    CustomMultiViewerSyncHandler: (
        primaryDocumentViewerKey: number,
        removeHandlerFunctions: (() => void)[],
    ) => void

    Callback of UI.setCustomMultiViewerSyncHandler: (main view key, removeHandlerFunctions) — the handler pushes the remove functions of its listeners there, and all are called when sync stops.

    Type Declaration

      • (primaryDocumentViewerKey: number, removeHandlerFunctions: (() => void)[]): void
      • Parameters

        • primaryDocumentViewerKey: number
        • removeHandlerFunctions: (() => void)[]

        Returns void