ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
18 lines (17 loc) • 687 B
TypeScript
import { BeanStub } from '../context/beanStub';
export interface ManagedFocusCallbacks {
shouldStopEventPropagation?: (e: KeyboardEvent) => boolean;
onTabKeyDown?: (e: KeyboardEvent) => void;
handleKeyDown?: (e: KeyboardEvent) => void;
onFocusIn?: (e: FocusEvent) => void;
onFocusOut?: (e: FocusEvent) => void;
}
export declare class ManagedFocusFeature extends BeanStub {
private readonly eFocusableElement;
private callbacks;
static FOCUS_MANAGED_CLASS: string;
private readonly focusService;
constructor(eFocusableElement: HTMLElement, callbacks?: ManagedFocusCallbacks);
protected postConstruct(): void;
private addKeyDownListeners;
}