@spartacus/storefront
Version:
Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.
28 lines (27 loc) • 1.58 kB
TypeScript
import { AfterViewInit, OnDestroy, OnInit, QueryList } from '@angular/core';
import { CmsService, CMSTabParagraphContainer, WindowRef } from '@spartacus/core';
import { Observable, Subscription } from 'rxjs';
import { ComponentWrapperDirective } from '../../../cms-structure/page/component/component-wrapper.directive';
import { CmsComponentData } from '../../../cms-structure/page/model/index';
import { BreakpointService } from '../../../layout/breakpoint/breakpoint.service';
import * as i0 from "@angular/core";
export declare class TabParagraphContainerComponent implements AfterViewInit, OnInit, OnDestroy {
componentData: CmsComponentData<CMSTabParagraphContainer>;
protected cmsService: CmsService;
protected winRef: WindowRef;
protected breakpointService: BreakpointService;
activeTabNum: number;
children: QueryList<ComponentWrapperDirective>;
tabTitleParams: (Observable<any> | null)[];
subscription: Subscription;
constructor(componentData: CmsComponentData<CMSTabParagraphContainer>, cmsService: CmsService, winRef: WindowRef, breakpointService: BreakpointService);
components$: Observable<any[]>;
select(tabNum: number, event?: MouseEvent): void;
ngOnInit(): void;
ngAfterViewInit(): void;
tabCompLoaded(componentRef: any): void;
private getTitleParams;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TabParagraphContainerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TabParagraphContainerComponent, "cx-tab-paragraph-container", never, {}, {}, never, never>;
}