Skip to main content

onProjectClose

Last updated 5/03/2026

Definition

is a host callback invoked by
DimensionIQWidget
when a project is being closed in the widget and the host application can perform finalization logic.

Once processing is complete, please refer to the

onResponse
contract in the Widget Callback Introduction.

This callback ensures the widget and host application remain synchronized regarding whether the project close operation was approved or rejected.

Function Signature

TypeScript
Function Signature
onProjectClose: (
onResponse: (result: DIQ_Result) => void
) => void;

Callback Parameters

onResponse
Type: (result: DIQ_Result) => void
Description: Callback function that must be called by the host to complete the operation.

Examples

onProjectClose