ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
21 lines (20 loc) • 614 B
TypeScript
export declare class GuardedElement {
private readonly element;
private readonly topTabGuard;
private readonly bottomTabGuard;
private readonly cleanup;
private guardTabIndex;
private hasFocus;
constructor(element: HTMLElement, topTabGuard: HTMLElement, bottomTabGuard: HTMLElement);
set tabIndex(index: number);
destroy(): void;
private initTabGuard;
private setGuardIndices;
private onFocus;
private onBlur;
private onTab;
private static queryFocusable;
private findEnterTarget;
private findExitTarget;
private static findBeforeAndAfter;
}