Home > widget-integration > CartSelectors > exposeConfig

CartSelectors.exposeConfig() method

Expose cart icon configuration to window for runtime customization Protected to allow Technical Support teams to customize config exposure

Override to: - Add custom configuration merging logic - Validate theme configurations - Add logging or analytics

Signature:

protected exposeConfig(): void;

Returns:

void

Example

protected exposeConfig(): void {
  super.exposeConfig();
  console.log('Cart config exposed:', window.boostWidgetIntegrationConfig);
}