Add a consent callback that can be used to query the consent state of the user.
The callback
Optional
consent?: ConsentStateOptional
internalSet up an integration with GA as analytics proider.
Optional
ga: stringmeasurement id
Construct the VSC component. This will always return the same instance, and doesn't allow for new configurations to be set after this call.
But further customizations can still be done using the options argument in the IVirtualStylingApi show function.
Sets the default organization or customer id (these are the same)
The organization or customer id
Fetch a collection based in the received reference id and organization id
The collection reference
Optional
organizationId: stringThe organization id
Sets an Array of analytic providers
Set the avatar position
The position
The custom css style to be used to customize the VSC look and feel.
CSS style
Sets the default e-commerce provider.
The e-commerce provider
Sets the default information provider.
The information provider
Set the sharing provider.
The sharing provider that should be used.
A builder interface for the VSC component. This allows to set up default settings for the VSC instance.
For the full documentation on the VSC component please take a look into our docs VSC documentation
See IGarmentInformationProvider on how to provide garment information to the VSC component.
See ICommerceProvider on how to provide e-commerce information and actions to the VSC component.
See hostAdaptors.SharingProvider on how to implement sharing functionality in the VSC component.