Skip to content

@jsvision/ui / MultiCheckGroupOptions

Interface: MultiCheckGroupOptions

Defined in: ui/src/controls/multi-check-group.ts:12

Options for MultiCheckGroup.

Properties

items

readonly items: readonly string[]

Defined in: ui/src/controls/multi-check-group.ts:14

One label per item; each may mark its hotkey with ~X~.


states

readonly states: string

Defined in: ui/src/controls/multi-check-group.ts:16

The ordered marker glyphs, one per state (e.g. ' xX'). The number of states is this string's length.


value

readonly value: Signal<number[]>

Defined in: ui/src/controls/multi-check-group.ts:18

Two-way binding: one state index (0..states-1) per item, in item order.