Configuration

Use the following configuration options to bind the Bootstrap checkboxes component.

Properties

Name

Default

Description

datamap

Used to bind data to the component. See Data Binding for details.

inline

false

Determines whether the checks show vertical (false) or horizonal (true).

type

checkbox

The type of checkbox. Valid values are checkbox, radio, switch.

The following example changes the checkbox type to a switch.

const checkboxes = new wire.bsCheckboxes().render("#checkboxes", {
    ...
    type: "switch"
});

Last updated