CheckboxControlValueAccessor

export directive CheckboxControlValueAccessor

exported from angular2/common defined in angular2/src/common/forms/directives/checkbox_value_accessor.ts (line 7)

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

Example

<input type="checkbox" ngControl="rememberLogin">

Selectors

input[type=checkbox][ngControl]

input[type=checkbox][ngFormControl]

input[type=checkbox][ngModel]

Constructor

constructor(_renderer: Renderer, _elementRef: ElementRef)

Not Yet Documented

Members

onChange : (_) => {}

Not Yet Documented

onTouched : () => {}

Not Yet Documented

writeValue(value: any) : void

Not Yet Documented

registerOnChange(fn: (_: any) => {}) : void

Not Yet Documented

registerOnTouched(fn: () => {}) : void

Not Yet Documented