Home > widget-integration > VolumeBundleService > updateVolumeBundleData
VolumeBundleService.updateVolumeBundleData() method
Signature:
updateVolumeBundleData(widgetId: string, data: {
variantId?: string | number;
}, action: VolumeBundleAction, target: Element | null, position?: string): Promise<VolumeBundleData | undefined>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
widgetId |
string | |
|
data |
{ variantId?: string | number; } | |
|
action | ||
|
target |
Element | null | |
|
position |
string |
(Optional) |
Returns:
Promise<VolumeBundleData | undefined>