useRovingFocus

Import

import { useRovingFocus } from '@feugene/granularity/composables/useRovingFocus'

Exports

GrRovingOrientationtype
type GrRovingOrientation = 'horizontal' | 'vertical' | 'both' | 'grid'
GrRovingEdgetype
type GrRovingEdge = 'start' | 'end'
UseRovingFocusOptionsinterface
interface UseRovingFocusOptions<TKey>
UseRovingFocusReturninterface
interface UseRovingFocusReturn<TKey>
useRovingFocusfunction
function 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