@rero/ng-core
Version:
RERO angular core library.
23 lines (22 loc) • 1.17 kB
TypeScript
import { OnInit, OnDestroy, OutputRefSubscription } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import * as i0 from "@angular/core";
export interface ITabViewChangeEvent {
originalEvent: any;
index: number;
}
export declare class SearchTabsComponent implements OnInit, OnDestroy {
protected activatedRoute: ActivatedRoute;
types: import("@angular/core").InputSignal<any>;
onChangeType: import("@angular/core").OutputEmitterRef<string>;
/** Tabs displayed */
typesInTabs: any[];
/** Tab index */
currentType: import("@angular/core").ModelSignal<string>;
currentTypeSubscription: OutputRefSubscription;
/** OnInit hook */
ngOnInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SearchTabsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SearchTabsComponent, "ng-core-search-tabs", never, { "types": { "alias": "types"; "required": true; "isSignal": true; }; "currentType": { "alias": "currentType"; "required": false; "isSignal": true; }; }, { "onChangeType": "onChangeType"; "currentType": "currentTypeChange"; }, never, never, false, never>;
}