Config
Type
: { chiliEnvironmentUrl
?: string; documentType
?: DocumentType; editorId
?: string; editorLink
?: string; enableNextSubscribers
?: { onVariableListChanged
: boolean }; 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); onDataSourceIdChanged
?: ((connectorId
?: Id) => void); onDocumentIssueListChanged
?: ((documentIssues
: DocumentIssue[]) => void); onDocumentLoaded
?: (() => void); onFontFamiliesChanged
?: ((fontFamilies
: DocumentFontFamily[]) => void); onFrameAnimationsChanged
?: ((animationState
: FrameAnimationType[]) => void); onLayoutsChanged
?: ((layouts
: LayoutListItemType[]) => void); onPageSelectionChanged
?: ((id
: Id) => void); onPageSizeChanged
?: ((pageSize
: PageSize) => void); onPageSnapshotInvalidated
?: ((page
: Id) => void); onPagesChanged
?: ((pages
: Page[]) => 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); studioOptions
?: StudioOptionsDeltaUpdate; studioStyling
?: StudioStyling }
Type declaration
-
Optional
chiliEnvironmentUrl?: string
-
-
Optional
editorId?: string
-
Optional
editorLink?: string
-
Optional
enableNextSubscribers?: { onVariableListChanged: boolean }
-
onVariableListChanged: boolean
-
Optional
onActionsChanged?: ((state: DocumentAction[]) => void)
-
Optional
onAsyncError?: ((asyncError: AsyncError) => void)
-
Optional
onAuthExpired?: ((authRefreshRequest: AuthRefreshRequest) => Promise<AuthCredentials | null>)
-
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)
-
- (id?: Id): void
-
Returns void
-
Optional
onDataSourceIdChanged?: ((connectorId?: Id) => void)
-
- (connectorId?: Id): void
-
Returns void
-
Optional
onDocumentIssueListChanged?: ((documentIssues: DocumentIssue[]) => void)
-
Optional
onDocumentLoaded?: (() => void)
-
Optional
onFontFamiliesChanged?: ((fontFamilies: DocumentFontFamily[]) => void)
-
Optional
onFrameAnimationsChanged?: ((animationState: FrameAnimationType[]) => void)
-
Optional
onLayoutsChanged?: ((layouts: LayoutListItemType[]) => void)
-
Optional
onPageSelectionChanged?: ((id: Id) => void)
-
- (id: Id): void
-
Returns void
-
Optional
onPageSizeChanged?: ((pageSize: PageSize) => void)
-
Optional
onPageSnapshotInvalidated?: ((page: Id) => void)
-
- (page: Id): void
-
Returns void
-
Optional
onPagesChanged?: ((pages: Page[]) => void)
-
- (pages: Page[]): void
-
Returns void
-
Optional
onParagraphStylesChanged?: ((paragraphStyles: ParagraphStyle[]) => void)
-
Optional
onScrubberPositionChanged?: ((state: AnimationPlaybackType) => void)
-
Optional
onSelectedFrameContentChanged?: ((state: Frame | null) => void)
-
- (state: Frame | null): void
-
Returns void
-
Optional
onSelectedFrameLayoutChanged?: ((state: FrameLayoutType) => void)
-
Optional
onSelectedFramesContentChanged?: ((state: Frame[]) => void)
-
- (state: Frame[]): void
-
Returns void
-
Optional
onSelectedFramesLayoutChanged?: ((states: FrameLayoutType[]) => void)
-
Optional
onSelectedLayoutFramesChanged?: ((frames: SelectedLayoutFrame[]) => void)
-
Optional
onSelectedLayoutIdChanged?: ((layoutId: string) => void)
-
- (layoutId: string): void
-
Returns void
-
Optional
onSelectedLayoutPropertiesChanged?: ((state: LayoutPropertiesType) => void)
-
Optional
onSelectedLayoutUnitChanged?: ((unit: MeasurementUnit) => void)
-
Optional
onSelectedPageIdChanged?: ((pageId: Id) => void)
-
- (pageId: Id): void
-
Returns void
-
Optional
onSelectedTextStyleChanged?: ((styles: SelectedTextStyle) => void)
-
Optional
onSelectedToolChanged?: ((tool: ToolType) => void)
-
Optional
onShapeCornerRadiusChanged?: ((cornerRadius: CornerRadiusUpdateModel) => void)
-
Optional
onStateChanged?: (() => void)
-
Optional
onUndoStackStateChanged?: ((undoStackState: UndoState) => void)
-
- (undoStackState: UndoState): void
-
Returns void
-
Optional
onVariableListChanged?: ((variableList: Variable[]) => void)
-
- (variableList: Variable[]): void
-
Returns void
-
Optional
onViewModeChanged?: ((tool: ViewMode) => void)
-
Optional
onViewportRequested?: (() => Viewport | null)
-
Optional
onZoomChanged?: ((scaleFactor: number) => void)
-
- (scaleFactor: number): void
-
Returns void
-
-
Deprecated
use
onSelectedFramesContentChanged
instead