p.location-badge. exported from angular2/forms defined in angular2/src/forms/directives/checkbox_value_accessor.ts (line 4) :markdown The accessor for writing a value and listening to changes on a checkbox input element. # Example ``` ``` .l-main-section h2 Members .l-sub-section h3 constructor pre.prettyprint code. constructor(cd: ControlDirective, private _elementRef: ElementRef, private _renderer: Renderer) :markdown .l-sub-section h3 checked :markdown .l-sub-section h3 onChange :markdown .l-sub-section h3 registerOnChange pre.prettyprint code. registerOnChange(fn) :markdown .l-sub-section h3 writeValue pre.prettyprint code. writeValue(value) :markdown