@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
24 lines (23 loc) • 638 B
TypeScript
import { ESLTrigger } from '../../esl-trigger/core';
/**
* ESlTab component
* @author Julia Murashko
*
* Tab trigger item, usually used in conjunction with a {@link ESLTabs}.
* Can control any {@link ESLToggleable} instance but is usually used in conjunction with {@link ESLPanel}
*/
export declare class ESLTab extends ESLTrigger {
static is: string;
mode: 'show' | 'toggle' | 'hide';
activeClass: string;
initA11y(): void;
updateA11y(): void;
}
declare global {
export interface ESLLibrary {
Tab: typeof ESLTab;
}
export interface HTMLElementTagNameMap {
'esl-tab': ESLTab;
}
}