IGroupItem

interface
Data & State

Internal registration record for a single item inside a group — carries the numeric id assigned by the group provider, a reactive value ref and a reactive disabled ref.

TypeScript

Definition

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

typescript

API

Properties

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

id
required
number
Unique numeric identifier assigned by the group provider at registration time.
value
required
Ref<unknown>
Reactive value ref — the logical value this item represents in the group selection model.
disabled
required
Ref<boolean | undefined>
Reactive disabled state — when true, the item cannot be selected.
domId
string

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Shape of an item registered in a group provider

typescript