packages/ecl/components/ecl-multiselect/ecl-multiselect-option.directive.ts
Directive used to decorate
| Selector | optgroup[eclMultiselectOptgroup], option[eclMultiselectOption] |
Properties |
Methods |
Inputs |
HostBindings |
Accessors |
| disabled |
Type : boolean
|
|
Indicates that the option is disabled. |
| label |
Type : string
|
|
Label displayed for the option. |
| selected |
Type : boolean
|
|
Indicates that the option is selected. |
| value |
Type : string
|
|
Value assigned to the option. |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| class |
Type : string
|
|
Applies ECL checkbox styling class to the option. |
| isOptGroup |
isOptGroup()
|
|
Returns true if this directive is applied to an
Returns :
boolean
|
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| changes |
Type : unknown
|
Default value : new Subject()
|
|
Emits whenever the option's state changes (used internally). |
| eclOptionItems |
Type : QueryList<EclMultiselectOptionDirective>
|
Decorators :
@ContentChildren(undefined)
|
|
Nested option directives (used for optgroups). |
| disabled | ||||||
getdisabled()
|
||||||
|
Indicates that the option is disabled.
Returns :
boolean
|
||||||
setdisabled(value: BooleanInput)
|
||||||
|
Parameters :
Returns :
void
|
| selected | ||||||
getselected()
|
||||||
|
Indicates that the option is selected.
Returns :
boolean
|
||||||
setselected(value: unknown)
|
||||||
|
Parameters :
Returns :
void
|
| cssClasses |
getcssClasses()
|
|
Applies ECL checkbox styling class to the option.
Returns :
string
|