chore(): make members private

This commit is contained in:
Adam Bradley
2015-11-15 20:37:24 -06:00
parent 9ef27f8c56
commit 13fa14dff6
24 changed files with 301 additions and 140 deletions

View File

@ -61,9 +61,6 @@ export class Checkbox {
if (ngControl) ngControl.valueAccessor = this;
}
/**
* TODO
*/
onInit() {
this.labelId = 'label-' + this.inputId;
}
@ -78,6 +75,7 @@ export class Checkbox {
}
/**
* @private
* Click event handler to toggle the checkbox checked state.
* @param {MouseEvent} ev The click event.
*/
@ -114,6 +112,9 @@ export class Checkbox {
*/
registerOnTouched(fn) { this.onTouched = fn; }
/**
* @private
*/
onDestroy() {
this.form.deregister(this);
}