@salla.sa/twilight-components
Version:
Salla Web Component
24 lines (23 loc) • 624 B
TypeScript
import type { Product } from '@salla.sa/twilight/types/common';
export declare class SallaBoughtTogether {
/**
* Maximum number of recommendations to fetch. Max is 4.
*/
limit: number;
recommendations: Product[];
selectedIds: Set<number>;
isLoading: boolean;
canRender: boolean;
isAdding: boolean;
title: string;
subtitle: string;
buyTogetherFor: string;
private resolvedProductId;
constructor();
componentWillLoad(): void;
private toggleProduct;
private get totalPrice();
private addSelectedToCart;
private getSkeletonView;
render(): any;
}