Listbox API
import { Listbox } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
activeAttribute | string | |
container | ParentNode | null | |
directItemSelector | string | |
itemRole | string | |
items | HTMLElement[] | null | |
itemSelector | string | |
onCollectionChange | () => void |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-listbox>
Listbox renders the ui-listbox custom element from @editora/ui-core, which can also be used without React.
Attributes: active-attribute
Events: select