ember-aria-checkbox

1.0.7 • Public • Published

ember-aria-checkbox

Build Status Coverage Status npm version dependencies Status devDependencies Status EmberObserver

An Ember Checkbox addon widget based on the WAI-ARIA authoring practices. Fore more info, visit the page

Tutorial

There is also a tutorial available here to learn how to create this addon from scratch.

Class Diagram

Class Diagram

Component Interface

Interface Diagram

Demo

Demo

Installation

  • ember install ember-aria-checkbox

Usage

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}}

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

Package Sidebar

Install

npm i ember-aria-checkbox

Weekly Downloads

23

Version

1.0.7

License

MIT

Unpacked Size

730 kB

Total Files

45

Last publish

Collaborators

  • rajasegar