onCustomValueUpdate
Definition
onCustomValueUpdate is a host callback invoked
by DimensionIQWidget when an existing custom value has been modified within the widget
and the host application must persist the updated custom value.
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 custom value's updated state.
Function Signature
Function Signature
onCustomValueUpdate: (
customValue: DIQ_CustomValue,
onResponse: (result: DIQ_Result) => void
) => void;
Callback Parameters
customValue
Type: DIQ_CustomValue
Description: The updated DIQ_CustomValue object from the widget.
onResponse
Type: (result: DIQ_Result) => void
Description: Callback function that must be called by the host to complete the operation.
Examples
onCustomValueUpdate