UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

24 lines (22 loc) 743 B
/// <reference types="../../index.d.ts" /> import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina'; import { Scale } from '../interfaces'; /** @slot - A slot for adding custom content. */ export declare class Tab extends LitElement { /** * When `true`, the component's contents are selected. * * Only one tab can be selected within the `calcite-tabs` parent. * * @default false */ selected: boolean; /** * Specifies a unique name for the component. * * When specified, use the same value on the `calcite-tab-title`. */ tab: string; /** Returns the index of the component item within the tab array. */ getTabIndex(): Promise<number>; }