Checklist Module

Checklist is a component that encapsulates several checkboxes. The values and labels of the checklist are specified in the `options` property and the checked items are specified with the `value` property. Each checkbox is rendered as an input with a surrounding label.

Types

Type Description

Attr

A list of children or a property for this dash component

Checklist

Checklist is a component that encapsulates several checkboxes. The values and labels of the checklist are specified in the `options` property and the checked items are specified with the `value` property. Each checkbox is rendered as an input with a surrounding label.

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 (list with values of type: string | number; default []) - The currently selected value • className (string) - The class of the container (div) • style (record) - The style of the container (div) • inputStyle (record; default {}) - The style of the checkbox element • inputClassName (string; default ) - The class of the checkbox element • labelStyle (record; default {}) - The style of the

Functions and values

Function or value Description

Checklist.checklist id attrs

Full Usage: Checklist.checklist id attrs

Parameters:
    id : string
    attrs : Attr list

Returns: DashComponent

Checklist is a component that encapsulates several checkboxes. The values and labels of the checklist are specified in the `options` property and the checked items are specified with the `value` property. Each checkbox 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 (list with values of type: string | number; default []) - The currently selected value • className (string) - The class of the container (div) • style (record) - The style of the container (div) • inputStyle (record; default {}) - The style of the checkbox element • inputClassName (string; default ) - The class of the checkbox element • labelStyle (record; default {}) - The style of the

id : string
attrs : Attr list
Returns: DashComponent