onDrawingNewRevision
Definition
Once processing is complete, please refer to the onResponse contract in the Widget Callback Introduction.
This callback ensures the widget and the host application remain synchronized when a drawing revision is updated with new layouts.
Function Signature
onDrawingNewRevision: (
drawing: DIQ_DrawingRevision,
previousLayouts: Array<DIQ_Layout>,
newLayouts: Array<DIQ_Layout>,
onResponse: (result: DIQ_Result) => void
) => void;
Callback Parameters
drawing
Type: DIQ_DrawingRevision
Description: The
previousLayouts
Type: Array<DIQ_Layout>
Description: An array of
newLayouts
Type: Array<DIQ_Layout>
Description: An array of
onResponse
Type: (result: DIQ_Result) => void
Description: Callback function that must be called by the host to complete the operation.