packages/ecl/components/ecl-form-label/ecl-form-label-optional.directive.ts
The ECLFormLabelOptionalDirective adds the ecl-form-label__optional CSS class
to an element to indicate that a form field is optional.
| Selector | [eclFormLabelOptional] |
Properties |
HostBindings |
| class.ecl-form-label__optional |
Type : boolean
|
Default value : true
|
|
Adds the ECL optional label class to the host element. |
| hasClass |
Type : unknown
|
Default value : true
|
Decorators :
@HostBinding('class.ecl-form-label__optional')
|
|
Adds the ECL optional label class to the host element. |