RadioGroupView.model
property · packages/mixins-ui/src/radioGroup/view.ts:25
readonly model: UiRadioGroup.ModelThe interaction state Bundles.RadioGroup placed, or upstream's init made.
Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/radioGroup/view.ts:23
interface RadioGroupView<Value extends string, Outer> {
readonly model: UiRadioGroup.Model
readonly onMessage: (message: UiRadioGroup.Message) => Outer
readonly legend: string
readonly hideLegend?: boolean | undefined
readonly options: ReadonlyArray<RadioGroupRow<Value>>
readonly value: Option.Option<Value>
readonly orientation?: 'horizontal' | 'vertical' | undefined
readonly disabled?: boolean | undefined
readonly readOnly?: boolean | undefined
readonly invalid?: boolean | undefined
readonly error?: string | undefined
readonly name?: string | undefined
readonly style?: NamedStyle<typeof RadioGroupSlots> | undefined
readonly mixins?: MixinList<Outer> | undefined
}RadioGroupView.modelproperty · packages/mixins-ui/src/radioGroup/view.ts:25
readonly model: UiRadioGroup.ModelThe interaction state Bundles.RadioGroup placed, or upstream's init made.
RadioGroupView.onMessageproperty · packages/mixins-ui/src/radioGroup/view.ts:26
readonly onMessage: (message: UiRadioGroup.Message) => OuterRadioGroupView.legendproperty · packages/mixins-ui/src/radioGroup/view.ts:28
readonly legend: stringWhat the options answer: the group's accessible name, drawn above it.
RadioGroupView.hideLegendproperty · packages/mixins-ui/src/radioGroup/view.ts:30
readonly hideLegend?: boolean | undefinedDraws no visible legend; the name stays on the group.
RadioGroupView.optionsproperty · packages/mixins-ui/src/radioGroup/view.ts:31
readonly options: ReadonlyArray<RadioGroupRow<Value>>RadioGroupView.valueproperty · packages/mixins-ui/src/radioGroup/view.ts:33
readonly value: Option.Option<Value>The chosen option's value: the application's, set from Selected in onOut.
RadioGroupView.orientationproperty · packages/mixins-ui/src/radioGroup/view.ts:35
readonly orientation?: 'horizontal' | 'vertical' | undefinedDefault vertical.
RadioGroupView.disabledproperty · packages/mixins-ui/src/radioGroup/view.ts:36
readonly disabled?: boolean | undefinedRadioGroupView.readOnlyproperty · packages/mixins-ui/src/radioGroup/view.ts:38
readonly readOnly?: boolean | undefinedKeeps the group navigable and not selectable.
RadioGroupView.invalidproperty · packages/mixins-ui/src/radioGroup/view.ts:40
readonly invalid?: boolean | undefinedThe group is aria-invalid; an error implies it.
RadioGroupView.errorproperty · packages/mixins-ui/src/radioGroup/view.ts:42
readonly error?: string | undefinedShown under the group, which it describes.
RadioGroupView.nameproperty · packages/mixins-ui/src/radioGroup/view.ts:44
readonly name?: string | undefinedSubmitted under this name as the chosen value.
RadioGroupView.styleproperty · packages/mixins-ui/src/radioGroup/view.ts:45
readonly style?: NamedStyle<typeof RadioGroupSlots> | undefinedRadioGroupView.mixinsproperty · packages/mixins-ui/src/radioGroup/view.ts:47
readonly mixins?: MixinList<Outer> | undefinedMixins beside the style: RadioGroup.readingKeys.