checkbox-no-js-variations.txt 576 B

1234567891011121314
  1. // Checked on page load:
  2. - add 'checked="checked"' attribute to input
  3. // Disabled on page load:
  4. - add 'disabled="disabled"' attribute to input
  5. // Toggling with checkboxes uses plain old Bootstrap Collapse:
  6. - See: http://getbootstrap.com/javascript/#collapse
  7. - add `data-toggle="collapse"`
  8. - add `data-target="{{selector}}"`
  9. - optionally consider adding aria attributes `aria-expanded` and `aria-controls`
  10. // Highlighting checkboxes:
  11. - add 'highlight' class to the `.checkbox` or `.checkbox-inline` wrapper. This will highlight the checkbox on check / uncheck.