LIST_ROLE
enum
Data Display
The ARIA role OrigamList announces: a plain list, or a listbox when the consumer asks for selection.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- LIST_ROLE.LIST
- A plain list of content — navigation rows, subheaders, dividers. Nothing is selectable.
- LIST_ROLE.LISTBOX
- A selection widget. Set when the consumer passes selected or an explicit selectStrategy; its rows become options carrying aria-selected.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
A list becomes a listbox by asking for selection