onProjectNew
Definition
onProjectNew is a host callback invoked by DimensionIQWidget when
a user creates a new project in the widget component and the host application must handle it's persistent storage.
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 the project's creation state.
Function Signature
Function Signature
onProjectNew: (
newProject: DIQ_Project,
onResponse: (result: DIQ_Result) => void
) => void;
Callback Parameters
newProject
Type: DIQ_Project
Description: The newly created DIQ_Project 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
onProjectNew