Skip to content

Interface: FocusGroupNavQuery

Defined in: packages/sdk/src/use-focus-group.ts:138

A roving-navigation query for focusGroupNextIndex.

Properties

current

ts
current: number;

Defined in: packages/sdk/src/use-focus-group.ts:140

The index focus is on now.


count

ts
count: number;

Defined in: packages/sdk/src/use-focus-group.ts:142

Number of items.


key

ts
key: string;

Defined in: packages/sdk/src/use-focus-group.ts:144

The pressed key (ArrowDown/ArrowUp/ArrowLeft/ArrowRight/Home/End).


orientation

ts
orientation: FocusGroupOrientation;

Defined in: packages/sdk/src/use-focus-group.ts:146

Which arrows navigate.


wrap

ts
wrap: boolean;

Defined in: packages/sdk/src/use-focus-group.ts:148

Wrap past the ends vs. stop.


isNavigable

ts
isNavigable: (index) => boolean;

Defined in: packages/sdk/src/use-focus-group.ts:150

Which indices accept focus; others are skipped.

Parameters

index

number

Returns

boolean