'daff-checkbox'
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| @Input() name | string | The name of the checkbox. | |||||||||
| @Input() value | any | The value of the checkbox. | |||||||||
| @Input() checked | boolean | ||||||||||
| @Input() id | string | The id of the checkbox. Must be unique. If not entered by a user then it is generated. | |||||||||
| @Input() label | '' | The aria-label of the checkbox. | |||||||||
| @Input() labeledBy | string | The aria-labeledby of the checkbox. | @Output() becameChecked | EventEmitter<boolean> | Event on whether or not the selection has changed. | @Output() becameUnchecked | EventEmitter<void> | focused | boolean | Whether the checkbox is focused | |
| disabled | boolean | Whether the checkbox is disabled. | |||||||||
| onBlur | Sets focused to false. | ||||||||||
| onFocus | Sets focused to true. | ||||||||||
| select | Sets checked to true. | ||||||||||
| deselect | Sets checked to false |