CheckboxGroupView.legend
property · packages/mixins-ui/src/checkboxGroup.ts:38
readonly legend: stringWhat the options answer, the group's accessible name.
Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/checkboxGroup.ts:36
interface CheckboxGroupView<Value extends string, Message> {
readonly legend: string
readonly options: ReadonlyArray<CheckboxGroupOption<Value>>
readonly checked: ReadonlyArray<Value>
readonly onToggle: (value: Value) => NoInfer<Message>
readonly id: string
readonly style?: NamedStyle<typeof CheckboxGroupSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}CheckboxGroupView.legendproperty · packages/mixins-ui/src/checkboxGroup.ts:38
readonly legend: stringWhat the options answer, the group's accessible name.
CheckboxGroupView.optionsproperty · packages/mixins-ui/src/checkboxGroup.ts:39
readonly options: ReadonlyArray<CheckboxGroupOption<Value>>CheckboxGroupView.checkedproperty · packages/mixins-ui/src/checkboxGroup.ts:41
readonly checked: ReadonlyArray<Value>The checked values, as the application keeps them.
CheckboxGroupView.onToggleproperty · packages/mixins-ui/src/checkboxGroup.ts:43
readonly onToggle: (value: Value) => NoInfer<Message>The Message a press on an option sends; its type comes from h.
CheckboxGroupView.idproperty · packages/mixins-ui/src/checkboxGroup.ts:45
readonly id: stringPrefixes every id the group draws, unique on the page.
CheckboxGroupView.styleproperty · packages/mixins-ui/src/checkboxGroup.ts:47
readonly style?: NamedStyle<typeof CheckboxGroupSlots> | undefinedA style of CheckboxGroupSlots, for the group's look.
CheckboxGroupView.mixinsproperty · packages/mixins-ui/src/checkboxGroup.ts:49
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.