RovingFocusGroup API
import { RovingFocusGroup } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
activeAttribute | string | null | |
container | ParentNode | null | |
directItemSelector | string | |
itemSelector | string | |
loop | boolean | |
onActiveItemChange | (detail: RovingFocusActiveItemDetail) => void |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-roving-focus-group>
RovingFocusGroup renders the ui-roving-focus-group custom element from @editora/ui-core, which can also be used without React.
Attributes: active-attribute, direct-item-selector, item-selector, loop
Events: active-item-change