packages/ecl/components/ecl-select/ecl-select.directive.ts
The default HTML
OnInit
DoCheck
AfterContentInit
| Selector | select[eclSelect] |
Methods |
Inputs |
HostBindings |
Accessors |
constructor(ngControl: NgControl, el: ElementRef, viewContainerRef: ViewContainerRef, renderer: Renderer2)
|
|||||||||||||||
|
Parameters :
|
| disabled |
Type : boolean
|
Default value : false
|
| eclSize |
Type : "s" | "m" | "l"
|
Default value : 'm'
|
|
Size/length of the field and the dropdown, can be 's', 'm' or 'l'. Default is 'm'. |
| isInvalid |
Type : boolean
|
Default value : false
|
| toggleLabel |
Type : string | undefined
|
Default value : undefined
|
|
Custom label for the arrow-down button. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| attr.disabled |
Type : boolean
|
| class |
Type : string
|
|
Applies the 'ecl-select' class to the main |
| class.ecl-select--invalid |
Type : boolean
|
|
Adds 'ecl-select--invalid' class to the host element, in case the component has invalid status. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| cssClasses |
getcssClasses()
|
|
Applies the 'ecl-select' class to the main
Returns :
string
|
| isDisabled |
getisDisabled()
|
| isInvalidState |
getisInvalidState()
|
|
Adds 'ecl-select--invalid' class to the host element, in case the component has invalid status.
Returns :
boolean
|