SelectMultipleControlValueAccessor

Stable Directive

Class Overview

class SelectMultipleControlValueAccessor {
  constructor(_renderer: Renderer, _elementRef: ElementRef)
  
  
  value : any
  onChange : (_: any) => {}
  onTouched : () => {}
  writeValue(value: any) : void
  registerOnChange(fn: (value: any) => any) : void
  registerOnTouched(fn: () => any) : void
  setDisabledState(isDisabled: boolean) : void
}

Selectors

select[multiple][formControlName]

select[multiple][formControl]

select[multiple][ngModel]

Class Description

The accessor for writing a value and listening to changes on a select element.

Constructor

constructor(_renderer: Renderer, _elementRef: ElementRef)

Class Details

value : any
onChange : (_: any) => {}
onTouched : () => {}
writeValue(value: any) : void
registerOnChange(fn: (value: any) => any) : void
registerOnTouched(fn: () => any) : void
setDisabledState(isDisabled: boolean) : void

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

doc_Angular
2016-10-06 09:47:02
Comments
Leave a Comment

Please login to continue.