@fluentui/react-northstar
Version:
A themable React component library.
16 lines (15 loc) • 490 B
TypeScript
export declare class ContainerFocusHandler {
private getItemsCount;
private readonly setFocusAt;
private circular;
private focusedIndex;
constructor(getItemsCount: () => number, setFocusAt: (number: any) => void, circular?: boolean);
private noItems;
private constrainFocusedIndex;
getFocusedIndex(): number;
syncFocusedIndex(withCurrentIndex: number): void;
movePrevious(): void;
moveNext(): void;
moveFirst(): void;
moveLast(): void;
}