@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
36 lines (35 loc) • 850 B
TypeScript
import { EventEmitter, VNode } from "../../stencil-public-runtime";
import { TabChangeEventDetail } from "./interfaces";
export declare class CalciteTab {
el: HTMLCalciteTabElement;
/**
* Optionally include a unique name for this tab,
* be sure to also set this name on the associated title.
*/
tab: string;
/**
* Show this tab
*/
active: boolean;
render(): VNode;
componentDidLoad(): void;
disconnectedCallback(): void;
/**
* @internal
*/
calciteTabRegister: EventEmitter;
tabChangeHandler(event: CustomEvent<TabChangeEventDetail>): void;
/**
* Return the index of this tab within the tab array
*/
getTabIndex(): Promise<number>;
/**
* @internal
*/
private guid;
private labeledBy;
/**
* @internal
*/
updateAriaInfo(tabIds?: string[], titleIds?: string[]): Promise<void>;
}