packages/ecl/components/ecl-checkbox/ecl-checkbox.directive.ts
Directive that applies ECL styles and manages state for checkbox groups or standalone checkboxes.
| Selector | [eclCheckbox] |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| isDisabled |
Type : boolean
|
Default value : false
|
|
Indicates whether the checkbox is disabled. |
| isInvalid |
Type : boolean
|
Default value : false
|
|
Indicates whether the checkbox is in an invalid state. |
| isSingle |
Type : boolean
|
Default value : false
|
|
Indicates whether the checkbox is rendered as a single (standalone) item. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Applies base CSS classes for the checkbox container. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclCheckboxHelpComponent |
Type : EclCheckboxHelpComponent
|
Decorators :
@ContentChild(undefined)
|
|
Child help component projected into the checkbox. |
| eclCheckboxLabelComponent |
Type : EclCheckboxLabelComponent
|
Decorators :
@ContentChild(undefined)
|
|
Child label component projected into the checkbox. |
| eclFormLabelDirective |
Type : EclFormLabelComponent
|
Decorators :
@ContentChild(undefined)
|
|
Optional form label component projected into the checkbox. |
| eclHelpBlockDirective |
Type : EclHelpBlockDirective
|
Decorators :
@ContentChild(undefined)
|
|
Optional help block directive projected into the checkbox. |
| cssClasses |
getcssClasses()
|
|
Applies base CSS classes for the checkbox container.
Returns :
string
|