NgSelectOption

Stable

Directive

What it does

Marks <option> as dynamic, so Angular can be notified when options change.

How to use

See docs for SelectControlValueAccessor for usage examples.

Class Overview

class NgSelectOption implements OnDestroy {
constructor(_element: ElementRef, _renderer: Renderer, _select: SelectControlValueAccessor)

id : string
ngValue 
value 
ngOnDestroy() : void

}

Selectors

option

Class Description

Constructor

constructor(_element: ElementRef, _renderer: Renderer, _select: SelectControlValueAccessor)

Class Details

exported from @angular/forms/index, defined in @angular/forms/src/directives/select_control_value_accessor.ts