vsn4ik / bootstrap-checkbox

A checkbox component based on Bootstrap framework.
https://vsn4ik.github.io/bootstrap-checkbox/
MIT License
213 stars 61 forks source link

Bootstrap 4 compitibility #33

Closed snimavat closed 6 years ago

snimavat commented 6 years ago

Is there any time frame to make the project compitible with latest bootstrap 4 .

vsn4ik commented 6 years ago

Full compitibility in v.1.5.0 with


$(':checkbox').checkboxpicker({
  offCls: 'btn-secondary',
  onCls: 'btn-secondary',
  ...
});
SlyDave commented 5 years ago

Took me ages to find this. Might want to add it into the docs ! Thanks for your hard work.

Edit: oh, you'll want to use btn-outline-secondary to replicate the look correctly.

$(':checkbox').checkboxpicker({
        offCls: 'btn-outline-secondary',
        onCls: 'btn-outline-secondary',
  ...
});