Type Alias InitialCallbacksConfigType
InitialCallbacksConfigType: { onActionsChanged?: (state: DocumentAction[]) => void; onAsyncError?: (asyncError: AsyncError) => void; onAuthExpired?: ( authRefreshRequest: AuthRefreshRequest, ) => Promise<AuthCredentials | null>; onBarcodeValidationChanged?: ( validationResults: BarcodeFrameValidationResult[], ) => void; onCharacterStylesChanged?: (characterStyles: CharacterStyle[]) => void; onColorsChanged?: (colors: DocumentColor[]) => void; onConnectorEvent?: (event: ConnectorEvent) => void; onConnectorsChanged?: (connectors: ConnectorInstance[]) => void; onCropActiveFrameIdChanged?: (id?: Id) => void; onCustomUndoDataChanged?: (customData: Record<string, string>) => void; onDataSourceIdChanged?: (connectorId?: Id) => void; onDocumentIssueListChanged?: (documentIssues: DocumentIssue[]) => void; onDocumentLoaded?: () => void; onEngineEditModeChanged?: (engineEditMode: EngineEditMode) => void; onFontFamiliesChanged?: (fontFamilies: DocumentFontFamily[]) => void; onFrameAnimationsChanged?: (animationState: FrameAnimationType[]) => void; onFramesLayoutChanged?: (states: FrameLayoutType[]) => void; onLayoutsChanged?: (layouts: LayoutListItemType[]) => void; onPagesChanged?: (pages: Page[]) => void; onPageSelectionChanged?: (id: Id) => void; onPageSizeChanged?: (pageSize: PageSize) => void; onPageSnapshotInvalidated?: (page: Id) => void; onParagraphStylesChanged?: (paragraphStyles: ParagraphStyle[]) => void; onScrubberPositionChanged?: (state: AnimationPlaybackType) => void; onSelectedFrameContentChanged?: (state: Frame | null) => void; onSelectedFrameLayoutChanged?: (state: FrameLayoutType) => void; onSelectedFramesContentChanged?: (state: Frame[]) => void; onSelectedFramesLayoutChanged?: (states: FrameLayoutType[]) => void; onSelectedLayoutFramesChanged?: (frames: SelectedLayoutFrame[]) => void; onSelectedLayoutIdChanged?: (layoutId: string) => void; onSelectedLayoutPropertiesChanged?: (state: LayoutPropertiesType) => void; onSelectedLayoutUnitChanged?: (unit: MeasurementUnit) => void; onSelectedPageIdChanged?: (pageId: Id) => void; onSelectedTextStyleChanged?: (styles: SelectedTextStyle) => void; onSelectedToolChanged?: (tool: ToolType) => void; onShapeCornerRadiusChanged?: ( cornerRadius: CornerRadiusUpdateModel, ) => void; onStateChanged?: () => void; onUndoStackStateChanged?: (undoStackState: UndoState) => void; onVariableListChanged?: (variableList: Variable[]) => void; onViewModeChanged?: (tool: ViewMode) => void; onViewportRequested?: () => Viewport | null; onZoomChanged?: (scaleFactor: number) => void;} Type declaration
Optional
onActionsChanged?: (state: DocumentAction[]) => void
Optional
onAsyncError?: (asyncError: AsyncError) => void
Optional
onBarcodeValidationChanged?: (validationResults: BarcodeFrameValidationResult[]) => void
Optional
onCharacterStylesChanged?: (characterStyles: CharacterStyle[]) => void
Optional
onColorsChanged?: (colors: DocumentColor[]) => void
Optional
onConnectorEvent?: (event: ConnectorEvent) => void
Optional
onConnectorsChanged?: (connectors: ConnectorInstance[]) => void
Optional
onCropActiveFrameIdChanged?: (id?: Id) => void
Optional
onCustomUndoDataChanged?: (customData: Record<string, string>) => void
Optional
onDataSourceIdChanged?: (connectorId?: Id) => void
Optional
onDocumentIssueListChanged?: (documentIssues: DocumentIssue[]) => void
Optional
onDocumentLoaded?: () => void
Optional
onEngineEditModeChanged?: (engineEditMode: EngineEditMode) => void
Optional
onFontFamiliesChanged?: (fontFamilies: DocumentFontFamily[]) => void
Optional
onFrameAnimationsChanged?: (animationState: FrameAnimationType[]) => void
Optional
onFramesLayoutChanged?: (states: FrameLayoutType[]) => void
Optional
onLayoutsChanged?: (layouts: LayoutListItemType[]) => void
Optional
onPagesChanged?: (pages: Page[]) => void
Optional
onPageSelectionChanged?: (id: Id) => void
Optional
onPageSizeChanged?: (pageSize: PageSize) => void
Optional
onPageSnapshotInvalidated?: (page: Id) => void
Optional
onParagraphStylesChanged?: (paragraphStyles: ParagraphStyle[]) => void
Optional
onScrubberPositionChanged?: (state: AnimationPlaybackType) => void
Optional
onSelectedFrameContentChanged?: (state: Frame | null) => void
Optional
onSelectedFrameLayoutChanged?: (state: FrameLayoutType) => void
Optional
onSelectedFramesContentChanged?: (state: Frame[]) => void
Optional
onSelectedFramesLayoutChanged?: (states: FrameLayoutType[]) => void
Optional
onSelectedLayoutFramesChanged?: (frames: SelectedLayoutFrame[]) => void
Optional
onSelectedLayoutIdChanged?: (layoutId: string) => void
Optional
onSelectedLayoutPropertiesChanged?: (state: LayoutPropertiesType) => void
Optional
onSelectedLayoutUnitChanged?: (unit: MeasurementUnit) => void
Optional
onSelectedPageIdChanged?: (pageId: Id) => void
Optional
onSelectedTextStyleChanged?: (styles: SelectedTextStyle) => void
Optional
onSelectedToolChanged?: (tool: ToolType) => void
Optional
onShapeCornerRadiusChanged?: (cornerRadius: CornerRadiusUpdateModel) => void
Optional
onStateChanged?: () => void
Optional
onUndoStackStateChanged?: (undoStackState: UndoState) => void
Optional
onVariableListChanged?: (variableList: Variable[]) => void
Optional
onViewModeChanged?: (tool: ViewMode) => void
Optional
onViewportRequested?: () => Viewport | null
Optional
onZoomChanged?: (scaleFactor: number) => void
Deprecated
use
events.onActionsChanged
instead