mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
chore(): make members private
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user