onConstantDelete
Definition
onConstantDelete is a host callback invoked
by DimensionIQWidget when a constant has been deleted within the widget and the host
application must remove the corresponding constant from its persistent storage.
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 regarding the constant's deletion state.
Function Signature
Function Signature
onConstantDelete: (
constant: DIQ_Constant,
onResponse: (result: DIQ_Result) => void
) => void;
Callback Parameters
constant
Type: DIQ_Constant
Description: The DIQ_Constant object that has been deleted from the widget.
onResponse
Type: (result: DIQ_Result) => void
Description: Callback function that must be called by the host to complete the operation.
Examples
onConstantDelete