NgSelectOption
Marks <option> as dynamic, so Angular can be notified when options change.
See also
NgModules
Selectors
option
Properties
| Property | Description |
|---|---|
id: string
|
ID of the option element |
@Input()
|
Write-only.
Tracks the value bound to the option element. Unlike the value binding, ngValue supports binding to objects. |
@Input()
|
Write-only.
Tracks simple string values bound to the option element.
For objects, use the |
Methods
|
Lifecycle method called before the directive's instance is destroyed. For internal use only. |
ParametersThere are no parameters. Returns
|