Home > widget-integration > PredictiveBundleStateService > setBundleData
PredictiveBundleStateService.setBundleData() method
Caches bundle state for a widget.
Signature:
setBundleData(widgetId: string, data: PredictiveBundleData): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
widgetId |
string |
Widget id to update. |
|
data |
Bundle state to store. |
Returns:
void