Radio/checkbox form controls decorator
<label class="custom-checkbox" for="my_checkbox">
<input type="checkbox" name="name" id="my_checkbox">
<span class="ctx-control"></span>
My label text
</label>
<label for="my_checkbox">
<input type="checkbox" name="name" id="my_checkbox">
My label text
</label>
Required if you want to ensure the required markup is given or you want add a fallback for browsers don't support the :checked selector
var myControlsDecorator = new CheckControlsDecorator(options);
Inputs jQuery selector. Default: input[type="checkbox"], input[type="radio"]
Checkbox input wrapper class name. Default: custom-checkbox
Radio input wrapper class name. Default: custom-checkbox
Updates check controls style