packages/eui/packages/components/eui-select/eui-select-option.directive.ts
Marks <option>
as dynamic, so Angular can be notified when options change.
See EuiSelectControlValueAccessor
NgSelectOption
OnDestroy
OnChanges
AfterViewInit
Selector | option:not([eclSelectOption]):not([eclMultiselectOption]), option[euiOption] |
Inputs |
Accessors |
constructor()
|
label |
Type : string
|
ngValue |
Type : any
|
selected |
Type : boolean
|
ngValue | ||||||
setngValue(value: any)
|
||||||
Tracks the value bound to the option element. Unlike the value binding, ngValue supports binding to objects.
Parameters :
Returns :
void
|