useRovingFocus
Import
import { useRovingFocus } from '@feugene/granularity/composables/useRovingFocus'Exports
GrRovingOrientationtypetype GrRovingOrientation = 'horizontal' | 'vertical' | 'both' | 'grid'GrRovingEdgetypetype GrRovingEdge = 'start' | 'end'UseRovingFocusOptionsinterfaceinterface UseRovingFocusOptions<TKey>UseRovingFocusReturninterfaceinterface UseRovingFocusReturn<TKey>useRovingFocusfunctionfunction useRovingFocus<TKey>(options: UseRovingFocusOptions<TKey>): UseRovingFocusReturn<TKey>
Descriptions come from the library in Russian and are not shown here — translating them is a decision of its own, see ADR-0003.
Source: @feugene/granularity 0.41.0, package.json#exports and dist/types