diff --git a/ionic/components/switch/switch.ts b/ionic/components/switch/switch.ts index c6f5c8b9ad..5f153b8b02 100644 --- a/ionic/components/switch/switch.ts +++ b/ionic/components/switch/switch.ts @@ -167,6 +167,7 @@ export class Switch { /** * Set checked state of this switch. * @param {boolean} value Boolean to set this switch's checked state to. + * @private */ check(value) { this.checked = !!value; @@ -175,6 +176,7 @@ export class Switch { /** * Toggle the checked state of this switch. + * @private */ toggle(ev) { this.check(!this.checked);