An Ember Checkbox widget addon based on the WAI-ARIA authoring practices
MIT License
An Ember Checkbox addon widget based on the WAI-ARIA authoring practices. Fore more info, visit the page
There is also a tutorial available here to learn how to create this addon from scratch.
ember install ember-aria-checkbox
Example Markup:
{{#aria-checkbox}}Lettuce{{/aria-checkbox}}
Default checked state:
{{#aria-checkbox checked=true}}Lettuce{{/aria-checkbox}}
You can also pass in any model value to the checked state to reflect the checkbox state.
this.set('isLettuce', true);
{{#aria-checkbox checked=isLettuce}}Lettuce{{/aria-checkbox}}
ember serve
npm test
(Runs ember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.