Type Alias CustomMultiViewerSyncHandler
CustomMultiViewerSyncHandler: (
primaryDocumentViewerKey: number,
removeHandlerFunctions: (() => void)[],
) => void
Type Declaration
-
- (primaryDocumentViewerKey: number, removeHandlerFunctions: (() => void)[]): void
-
Parameters
- primaryDocumentViewerKey: number
- removeHandlerFunctions: (() => void)[]
Returns 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.