p.location-badge. exported from <a href="/angular2/forms.html">angular2/forms</a> defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/directives.js#L62">angular2/src/forms/directives.js (line 62)</a> :markdown The accessor for writing a value and listening to changes on a checkbox input element. # Example ``` <input type="checkbox" [control]="rememberLogin"> ``` .l-main-section h2 Members .l-sub-section h3 constructor pre.prettyprint code. constructor(cd:ControlDirective, setCheckedProperty:Function) :markdown .l-sub-section h3 onChange :markdown .l-sub-section h3 writeValue pre.prettyprint code. writeValue(value) :markdown