ORIGAM_ITEM_GROUP_KEY

const
Injection Keys

Vue provide/inject symbol shared by OrigamItemGroup (provider) and OrigamItem (consumer). Carries the IGroupProvide selection context (selected values, toggle, isSelected…) enabling single / multiple / mandatory selection over any custom UI.

TypeScript

Definition

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

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamItemGroup

  • OrigamItem

Usage

Examples

Ready-to-paste code snippets using this constant.

Building a custom tile selector with OrigamItemGroup

html