RadioItems Module

RadioItems is a component that encapsulates several radio item inputs. The values and labels of the RadioItems is specified in the `options` property and the seleced item is specified with the `value` property. Each radio item is rendered as an input with a surrounding label.

Types

Type Description

Attr

A list of children or a property for this dash component

Prop

• options (list with values of type: record with the fields: 'label: string | number (required)', 'value: string | number (required)', 'disabled: boolean (optional)'; default []) - An array of options • value (string | number) - The currently selected value • style (record) - The style of the container (div) • className (string) - The class of the container (div) • inputStyle (record; default {}) - The style of the radio element • inputClassName (string; default ) - The class of the radio element • labelStyle (record; default {}) - The style of the

RadioItems

RadioItems is a component that encapsulates several radio item inputs. The values and labels of the RadioItems is specified in the `options` property and the seleced item is specified with the `value` property. Each radio item is rendered as an input with a surrounding label.

Functions and values

Function or value Description

RadioItems.radioItems id attrs

Full Usage: RadioItems.radioItems id attrs

Parameters:
    id : string
    attrs : Attr list

Returns: DashComponent

RadioItems is a component that encapsulates several radio item inputs. The values and labels of the RadioItems is specified in the `options` property and the seleced item is specified with the `value` property. Each radio item is rendered as an input with a surrounding label. Properties: • id (string) - The ID of this component, used to identify dash components in callbacks. The ID needs to be unique across all of the components in an app. • options (list with values of type: record with the fields: 'label: string | number (required)', 'value: string | number (required)', 'disabled: boolean (optional)'; default []) - An array of options • value (string | number) - The currently selected value • style (record) - The style of the container (div) • className (string) - The class of the container (div) • inputStyle (record; default {}) - The style of the radio element • inputClassName (string; default ) - The class of the radio element • labelStyle (record; default {}) - The style of the

id : string
attrs : Attr list
Returns: DashComponent