Configuration

Use the following configuration options to bind the iCheck List for WireBootstrap component.

Properties

Name

Default

Description

all

An object that represents selecting all values from the list. This value should match the datamap schema

datamap

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

color

green

Check item color. Valid values are black, red, green, blue, aero, grey, orange, yellow, pink, and purple.

icheck

The native configuration pass-through for iCheck. See iCheck for an example.

skin

flat

Check item style. Valid values are flat, line, minimal, square, polaris, and futurico.

The following example creates a new instance of the iCheck List for WireBootstrap component using a blue color with the square skin.

const list = new wire.icheckList().render("#list", {
    ...
     skin: "square",
     color: "blue"
});

iCheck

The following example sets up the pointer CSS cursor over enabled inputs and default over disabled inputs using the native configuration property cursor of iCheck.

const list = new wire.icheckList().render("#list", {
    ...
     icheck {
      cursor: true
     }
});

Last updated