Configuration
Use the following configuration options to bind the Bootstrap checkboxes component.
Properties
Name
Default
Description
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