NgSelectOption
directive
Marks <option>
as dynamic, so Angular can be notified when options change.
API
Description
class NgSelectOption implements OnDestroy {}
id
string
ID of the option element
ngValue
any
Tracks the value bound to the option element. Unlike the value binding, ngValue supports binding to objects.
value
any
Tracks simple string values bound to the option element.
For objects, use the ngValue
input binding.
ngOnDestroy
void
@returns
void
Jump to details