ember-checkbox-with-label
Ember component for a checkbox wrapped in a label
Demo
https://kellyselden.github.io/ember-checkbox-with-label
Installation
ember install ember-checkbox-with-label
Usage
{{checkbox-with-label checked=checked text="text goes here" disabled=disabled update=(action (mut checked))}}
or with positional params
{{checkbox-with-label checked "text goes here" disabled=disabled update=(action (mut checked))}}
or with a content block
{{#checkbox-with-label checked disabled=disabled update=(action (mut checked))}} text goes here{{/checkbox-with-label}}
License
This project is licensed under the MIT License.