@ivanvanderbyl/ember-material-components-checkbox
v0.77.1-alpha.2
Published
ember-cli addons for @material/checkbox.
Downloads
6
Maintainers
Readme
@ivanvanderbyl/ember-material-components-checkbox
ember-cli addon for @material/checkbox
.
Installation
ember install @ivanvanderbyl/ember-material-components-checkbox
Components
This package contains the following top-level components.
mdc-checkbox
Description
A standalone checkbox input element that does not contain a label.
Usage
{{mdc-checkbox checked=checked disabled=disabled}}
Attributes
checked
- The checkbox is checked.disabled
- The checkbox is disabled.
mdc-checkbox-with-label
Description
A checkbox input element that contains a label.
Usage
{{#mdc-checkbox-with-label checked=checked disabled=disabled alignEnd=true}}
This is a checkbox that contains a label. You can add HTML styling
tags here to make a more complex label.
{{/mdc-checkbox-with-label}}
Attributes
checked
- The checkbox is checked.disabled
- The checkbox is disabled.alignEnd
- Align the checkbox after the label.