0.77.1-alpha.2 • Published 5 years ago

@ivanvanderbyl/ember-material-components-checkbox v0.77.1-alpha.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 years ago

@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.