mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): add ng prefix to lifecycle interfaces
This commit is contained in:
@@ -119,7 +119,7 @@ export class TextInput {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
onInit() {
|
||||
ngOnInit() {
|
||||
if (this.input && this.label) {
|
||||
// if there is an input and an label
|
||||
// then give the label an ID
|
||||
@@ -430,7 +430,7 @@ export class TextInput {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
onDestroy() {
|
||||
ngOnDestroy() {
|
||||
this.deregMove();
|
||||
this.form.deregister(this);
|
||||
}
|
||||
@@ -471,7 +471,7 @@ export class TextInputElement {
|
||||
}
|
||||
}
|
||||
|
||||
onInit() {
|
||||
ngOnInit() {
|
||||
this.wrapper && this.wrapper.hasValue(this.value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user