Checkbox
The mdcCheckbox
directive creates a material designed checkbox.
API
Directive: MdcCheckboxInputDirective
Selector: input[mdcCheckboxInput][type=checkbox]
Directive for the input element of an MdcCheckboxDirective
.
Directive: MdcCheckboxDirective
Selector: [mdcCheckbox]
Directive for creating a Material Design checkbox. The checkbox is driven by an
underlying native checkbox input, which must use the MdcCheckboxInputDirective
directive.
The current implementation will add all other required DOM elements (such as the
background and ripple).
Future implementations will also support supplying (customized) background
elements.
This directive can be used together with an mdcFormField
to
easily position checkboxes and their labels, see
mdcFormField.