chore(): add ng prefix to lifecycle interfaces

This commit is contained in:
Adam Bradley
2015-12-08 21:38:26 -06:00
parent 474831e66b
commit 30b88d746b
25 changed files with 48 additions and 47 deletions

View File

@ -65,7 +65,7 @@ export class Checkbox {
if (ngControl) ngControl.valueAccessor = this;
}
onInit() {
ngOnInit() {
this.labelId = 'label-' + this.inputId;
}
@ -118,7 +118,7 @@ export class Checkbox {
/**
* @private
*/
onDestroy() {
ngOnDestroy() {
this.form.deregister(this);
}
}