carbon-components-angular
Version:
Next generation components
58 lines (54 loc) • 2.38 kB
TypeScript
/**
*
* carbon-angular v0.0.0 | tab-header-group.component.d.ts
*
* Copyright 2014, 2024 IBM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { QueryList, AfterContentInit, ElementRef, OnChanges, SimpleChanges, ChangeDetectorRef, OnInit, Renderer2 } from "@angular/core";
import { Subscription } from "rxjs";
import { EventService } from "carbon-components-angular/utils";
import { TabHeader } from "./tab-header.directive";
import { BaseTabHeader } from "./base-tab-header.component";
import * as i0 from "@angular/core";
export declare class TabHeaderGroup extends BaseTabHeader implements AfterContentInit, OnChanges, OnInit {
protected elementRef: ElementRef;
protected changeDetectorRef: ChangeDetectorRef;
protected eventService: EventService;
protected renderer: Renderer2;
isNavigation: boolean;
/**
* ContentChildren of all the tabHeaders.
*/
tabHeaderQuery: QueryList<TabHeader>;
headerContainer: any;
/**
* Keeps track of all the subscriptions to the tab header selection events.
*/
selectedSubscriptionTracker: Subscription;
/**
* Controls the manual focusing done by tabbing through headings.
*/
currentSelectedTab: number;
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, eventService: EventService, renderer: Renderer2);
/**
* Controls the keydown events used for tabbing through the headings.
*/
keyboardInput(event: any): void;
ngOnInit(): void;
ngAfterContentInit(): void;
ngOnChanges(changes: SimpleChanges): void;
getSelectedTab(): any;
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeaderGroup, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TabHeaderGroup, "cds-tab-header-group, ibm-tab-header-group", never, { "isNavigation": "isNavigation"; }, {}, ["tabHeaderQuery"], ["*"], false>;
}