IInternalListItem

interface
Data Display

Normalised list item record extending IInternalItem with a resolved title, arbitrary props bag, and optional nested children. This is the shape every item-based list component works with internally.

TypeScript

Definition

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

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

title
string
Resolved display title for the list item.
props
{ [key: string]: any title?: string value?: any }
Additional props bag forwarded to the list item component, including title and value overrides.
children
Array<IInternalListItem<T>>
Nested children items for multi-level list structures.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Accessing a normalised list item in a slot

vue