ComPDFKit Web SDK
    Preparing search index...

    Function setCustomMultiViewerSyncHandler

    • Sets a custom sync handler: when sync starts, handler(primaryViewerKey, removeHandlerFunctions) is called; the handler pushes the removal functions of its listeners into the array, and they are all called when sync stops. The built-in zoom / scroll sync is set up first and the handler runs after it (it adds to, not replaces, the built-in sync). Pass null / undefined to clear it.

      Parameters

      Returns void