mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
chore(): add ng prefix to lifecycle interfaces
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user