@spartacus/storefront
Version:
Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.
24 lines (23 loc) • 1.15 kB
TypeScript
import { CmsProductCarouselComponent as model, Product, ProductScope, ProductService } from '@spartacus/core';
import { Observable } from 'rxjs';
import { CmsComponentData } from '../../../../cms-structure/page/model/cms-component-data';
import * as i0 from "@angular/core";
export declare class ProductCarouselComponent {
protected componentData: CmsComponentData<model>;
protected productService: ProductService;
protected readonly PRODUCT_SCOPE = ProductScope.LIST;
private componentData$;
/**
* returns an Observable string for the title.
*/
title$: Observable<string>;
/**
* Observable that holds an Array of Observables. This is done, so that
* the component UI could consider to lazy load the UI components when they're
* in the viewpoint.
*/
items$: Observable<Observable<Product>[]>;
constructor(componentData: CmsComponentData<model>, productService: ProductService);
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCarouselComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ProductCarouselComponent, "cx-product-carousel", never, {}, {}, never, never>;
}