packages/ecl/components/ecl-text-area/ecl-text-area.directive.ts
Directive to be used with
| Selector | textarea[eclTextArea] |
Methods |
Inputs |
HostBindings |
Accessors |
| eclSize |
Type : string
|
Default value : 'm'
|
|
Width of the component, can be 's', 'm' or 'l'. Default value is 'm'. |
| isInvalid |
Type : boolean
|
Default value : false
|
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Adds specific classes for the component. |
| class.ecl-text-area--invalid |
Type : boolean
|
|
Adds 'ecl-text-area--invalid' class, depending on the invalid status of the component. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| cssClasses |
getcssClasses()
|
|
Adds specific classes for the component.
Returns :
string
|
| invalidState |
getinvalidState()
|
|
Adds 'ecl-text-area--invalid' class, depending on the invalid status of the component.
Returns :
boolean
|