packages/ecl/components/ecl-radio/ecl-radio.directive.ts
Directive that applies the ECL radio button styling and behavior.
Should be applied to native radio input elements to enhance them with ECL styles and support for invalid, disabled and binary states.
| Selector | [eclRadio] |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| isBinary |
Type : boolean
|
|
Adds the |
| isDisabled |
Type : boolean
|
Default value : false
|
|
Adds the |
| isInvalid |
Type : boolean
|
Default value : false
|
|
Adds the |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Returns the CSS classes to apply on the host element.
Includes the base |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclRadioHelpComponent |
Type : EclRadioHelpComponent
|
Decorators :
@ContentChild(undefined)
|
|
Reference to the projected EclRadioHelpComponent, if present. Used to synchronize the disabled state with the help text. |
| eclRadioLabelComponent |
Type : EclRadioLabelComponent
|
Decorators :
@ContentChild(undefined)
|
|
Reference to the projected EclRadioLabelComponent, if present. Used to synchronize disabled and invalid states with the label. |
| cssClasses |
getcssClasses()
|
|
Returns the CSS classes to apply on the host element.
Includes the base
Returns :
string
|