packages/ecl/components/ecl-radio/ecl-radio-label.component.ts
Component representing a label for an ECL radio button.
Used inside an element with the [eclRadio] directive to provide a styled label that can reflect the radio's state.
| encapsulation | ViewEncapsulation.None |
| selector | [eclRadioLabel] |
| templateUrl | ./ecl-radio-label.component.html |
Methods |
Inputs |
HostBindings |
Accessors |
| isDisabled |
Type : boolean
|
Default value : false
|
|
Adds styling for a disabled state. |
| isInvalid |
Type : boolean
|
Default value : false
|
|
Adds styling for an invalid state. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Returns the CSS classes applied to the host element.
Includes the base |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| cssClasses |
getcssClasses()
|
|
Returns the CSS classes applied to the host element.
Includes the base
Returns :
string
|