packages/ecl/components/ecl-radio/ecl-radio-input.directive.ts
Directive that decorates native elements to be styled as ECL radio inputs.
Applies the proper ECL CSS classes and integrates with Angular forms to reflect validation states (invalid, disabled) in the parent ECL radio directive. Should be used together with the eclRadio directive.
| Selector | input[eclRadioInput] |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Returns the CSS classes applied to the host input element. Includes the base ecl-radio__input class. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclRadio |
Type : unknown
|
Default value : inject(EclRadioDirective)
|
| cssClasses |
getcssClasses()
|
|
Returns the CSS classes applied to the host input element. Includes the base ecl-radio__input class.
Returns :
string
|