j-Checkbox
Configuration:
required{Boolean} optional, enables "required" (default:false)label{String} optional, label (default is HTML content)disabled{Boolean} optional, disables this componentcheckicon{String} optional, a check icon withoutfa-(default:check)reverse{Boolean} optional, enables reverse behaviour (default:false)
Use it with <ui-component name="checkbox">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.
<ui-component name="checkbox" path="form.newsletter">I want to receive a newsletter</ui-component>
<ui-component name="checkbox" path="form.terms">I agree with terms and conditions</ui-component>
<script>
var form = {};
form.terms = false;
form.newsletter = true;
</script>