From 8d6ec9efa5be236c54d12cdb4683585d4a486f54 Mon Sep 17 00:00:00 2001 From: Drew Rygh Date: Tue, 1 Dec 2015 17:22:32 -0600 Subject: [PATCH] docs(checkbox): checkbox attribute docs --- ionic/components/checkbox/checkbox.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ionic/components/checkbox/checkbox.ts b/ionic/components/checkbox/checkbox.ts index 2e50526ac3..38a56394ee 100644 --- a/ionic/components/checkbox/checkbox.ts +++ b/ionic/components/checkbox/checkbox.ts @@ -4,10 +4,13 @@ import {Ion} from '../ion'; import {Form} from '../../util/form'; /** - * The checkbox is no different than the HTML checkbox input, except it's styled differently + * The checkbox is no different than the HTML checkbox input, except it's styled differently. * * See the [Angular 2 Docs](https://angular.io/docs/js/latest/api/core/Form-interface.html) for more info on forms and input. * + * @property [checked] - whether or not the checkbox is checked (defaults to false) + * @property [value] - the value of the checkbox component + * * @usage * ```html * @@ -66,8 +69,7 @@ export class Checkbox { } /** - * Toggle the checked state of the checkbox. Calls onChange to pass the - * updated checked state to the model (Control). + * Toggle the checked state of the checkbox. Calls onChange to pass the updated checked state to the model (Control). */ toggle() { this.checked = !this.checked;