Home > widget-integration > PredictiveBundleController > setBundleData
PredictiveBundleController.setBundleData() method
Stores bundle data and tracks ownership for later cleanup.
Signature:
setBundleData(widgetId: string, data: PredictiveBundleData): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
widgetId |
string |
Widget id to update. |
|
data |
Bundle state to cache. |
Returns:
void