NgSelectOption

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

id : string
ngValue
value
ngOnDestroy() : void

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

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/forms/index/NgSelectOption-directive.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部