lx-checkbox is a directive that create an input checkbox element.
lx-checkbox-label for the label and lx-checkbox-help for the helper message.
ng-disabled or disabled attribute.
dist/scss/core/settings/defaults.scss can be used to create colored checkboxes.
| Parameter | Type | Default | Description |
|---|---|---|---|
| lx-color | string |
accent |
Define the checkbox color. Options: colors defined in colors and sizes section in dist/scss/core/settings/defaults.scss |
| name | string |
Property name of the form under which the control is published. | |
| ng-change | string |
Angular expression to be executed when input changes due to user interaction with the input element. | |
| ng-disabled | expression |
If the expression is truthy, then the disabled attribute will be set on the element. | |
| ng-false-value | expression |
The value to which the expression should be set when not selected. | |
| ng-model* | string |
Assignable angular expression to data-bind to. | |
| ng-true-value | expression |
The value to which the expression should be set when selected. |