Bootstrap
Docs HomeProduct SiteSupport
  • Introduction
  • Buttons
    • Configuration
    • Data Binding
  • Checkboxes
    • Configuration
    • Data Binding
    • Events
  • Input
    • Configuration
    • Data Binding
    • Events
    • Methods
  • Modals
    • Message
    • Error
  • Search List
    • Configuration
    • Data Binding
    • Methods
  • Select
    • Configuration
    • Data Binding
    • Events
  • Table
    • Configuration
    • Data Binding
    • Events
  • Web Components
Powered by GitBook
On this page
  1. Checkboxes

Configuration

PreviousCheckboxesNextData Binding

Last updated 2 years ago

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

Properties

Name

Default

Description

datamap

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"
});

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

Data Binding