import { HtmlElement, HtmlElementConfigBase, HtmlElementInstance } from "../HtmlElement"; import { Instance } from "../../ui/Instance"; import { RenderingContext } from "../../ui/RenderingContext"; import { BooleanProp, Prop, StringProp } from "../../ui/Prop"; export interface TabConfig extends HtmlElementConfigBase { /** A value to be written to the `value` property if the tab is clicked. */ tab?: Prop; /** * Value of the currently selected tab. * If `value` is equal to `tab`, the tab appears active. */ value?: StringProp; /** Set to `true` to disable selection. */ disabled?: BooleanProp; /** Base CSS class to be applied to the element. No class is applied by default. */ baseClass?: string; /** Name of the HTML element to be rendered. Default is `div`. */ tag?: string; /** * Determines if tab should receive focus on `mousedown` event. * Default is `false`, which means that focus can be set only using the keyboard `Tab` key. */ focusOnMouseDown?: boolean; /** Set to true to set the default tab. */ default?: boolean; } export declare class Tab extends HtmlElement { baseClass: string; tag: string; focusOnMouseDown: boolean; default: boolean; shape?: string; onMouseDown?: any; onClick?: any; declareData(): void; prepareData(context: RenderingContext, instance: HtmlElementInstance): void; isValidHtmlAttribute(attrName: string): string | false; attachProps(context: RenderingContext, instance: HtmlElementInstance, props: any): void; handleClick(e: any, instance: Instance): void; } //# sourceMappingURL=Tab.d.ts.map