checkbox-variations.txt 526 B

12345678910111213
  1. //Checked when initialized:
  2. - add 'checked' class to input
  3. - add 'checked="checked"' attribute to input
  4. //Disabled when initialized:
  5. - add 'disabled="disabled"' attribute to input
  6. //Toggling checkboxes:
  7. - add 'data-toggle="{{selector}}"' attribute to input. This will toggle the matching selector's visibility on check / uncheck
  8. (ex: 'data-toggle="#myTogglingBox"')
  9. //Highlighting checkboxes:
  10. - add 'highlight' class to block wrapper or label for inline. This will highlight the checkbox on check / uncheck.