@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
57 lines (56 loc) • 1.35 kB
TypeScript
import { VNode } from "../../stencil-public-runtime";
import { Theme } from "../interfaces";
import { TabLayout, TabPosition } from "./interfaces";
export declare class CalciteTabs {
el: HTMLCalciteTabsElement;
/**
* Select theme (light or dark)
*/
theme: Theme;
/**
* Align tab titles to the edge or fully justify them across the tab nav ("center")
*/
layout: TabLayout;
/**
* Display the tabs above (default) or below the tab content
*/
position: TabPosition;
render(): VNode;
/**
* @internal
*/
calciteTabTitleRegister(e: CustomEvent): void;
/**
* @internal
*/
calciteTabTitleUnregister(e: CustomEvent): void;
/**
* @internal
*/
calciteTabRegister(e: CustomEvent): void;
/**
* @internal
*/
calciteTabUnregister(e: CustomEvent): void;
/**
* @internal
*
* Stores an array of ids of `<calcite-tab-titles>`s to match up ARIA
* attributes.
*/
titles: HTMLCalciteTabTitleElement[];
/**
* @internal
*
* Stores an array of ids of `<calcite-tab>`s to match up ARIA attributes.
*/
tabs: HTMLCalciteTabElement[];
/**
* @internal
*
* Matches up elements from the internal `tabs` and `titles` to automatically
* update the ARIA attributes and link `<calcite-tab>` and
* `<calcite-tab-title>` components.
*/
private registryHandler;
}