LIST_ITEM_TYPE

enum
Data Display

Discriminates between the three possible children of OrigamList: item, subheader, or divider.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

LIST_ITEM_TYPE.ITEM
A standard interactive or display list item.
LIST_ITEM_TYPE.SUBHEADER
A non-interactive label that groups items beneath it.
LIST_ITEM_TYPE.DIVIDER
A visual separator between list sections.

Usage

Examples

Ready-to-paste code snippets using this enum.

Supplying typed items to a list

typescript