@spartacus/storefront
Version:
Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.
22 lines (21 loc) • 1.07 kB
TypeScript
import { AfterContentChecked } from '@angular/core';
import { Product, TranslationService, WindowRef } from '@spartacus/core';
import { BehaviorSubject, Observable } from 'rxjs';
import { CurrentProductService } from '../current-product.service';
import * as i0 from "@angular/core";
export declare class ProductIntroComponent implements AfterContentChecked {
protected currentProductService: CurrentProductService;
private translationService;
protected winRef: WindowRef;
reviewsTabAvailable: BehaviorSubject<boolean>;
product$: Observable<Product>;
constructor(currentProductService: CurrentProductService, translationService: TranslationService, winRef: WindowRef);
ngAfterContentChecked(): void;
showReviews(): void;
private getReviewsComponent;
private getTabsComponent;
private clickTabIfInactive;
private getTabByLabel;
static ɵfac: i0.ɵɵFactoryDeclaration<ProductIntroComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ProductIntroComponent, "cx-product-intro", never, {}, {}, never, never>;
}