Stable Directive
Class Overview
class NgSelectOption { constructor(_element: ElementRef, _renderer: Renderer, _select: SelectControlValueAccessor) id : string ngValue value ngOnDestroy() }
Selectors
option
Class Description
Marks <option>
as dynamic, so Angular can be notified when options change.
Example
<select name="city" ngModel> <option *ngFor="let c of cities" [value]="c"></option> </select>
Constructor
constructor(_element: ElementRef, _renderer: Renderer, _select: SelectControlValueAccessor)
Class Details
id : string
ngValue
value
ngOnDestroy()
exported from @angular/forms/index, defined in @angular/forms/src/directives/select_control_value_accessor.ts
Please login to continue.