From 6b7d46f6c488f3dd26f195e37d6b879bdc1c58c8 Mon Sep 17 00:00:00 2001 From: mhartington Date: Mon, 7 Dec 2015 14:44:29 -0500 Subject: [PATCH] docs(ionSwitch): add switch properties --- ionic/components/switch/switch.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ionic/components/switch/switch.ts b/ionic/components/switch/switch.ts index af7944b222..644ca18e37 100644 --- a/ionic/components/switch/switch.ts +++ b/ionic/components/switch/switch.ts @@ -39,7 +39,10 @@ class MediaSwitch { * Switches can also have colors assigned to them, by adding any color attribute to them. * * See the [Angular 2 Docs](https://angular.io/docs/js/latest/api/forms/) for more info on forms and input. - * + * @property {any} [value] - the inital value of the switch + * @property {boolean} [checked] - whether the switch it toggled or not + * @property {boolean} [disabled] - whether the switch is disabled or not + * @property {string} [id] - a unique ID for a switch * @usage * ```html * // Create a single switch