From 2a686dd97d6f233d6769387bc61f0e84ec32bf4d Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Sat, 8 Mar 2014 20:56:35 -0700 Subject: [PATCH] docs(ionCheckbox): write docs --- js/ext/angular/src/directive/ionicCheckbox.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/js/ext/angular/src/directive/ionicCheckbox.js b/js/ext/angular/src/directive/ionicCheckbox.js index c9d05834f7..a6dd898028 100644 --- a/js/ext/angular/src/directive/ionicCheckbox.js +++ b/js/ext/angular/src/directive/ionicCheckbox.js @@ -3,7 +3,21 @@ angular.module('ionic.ui.checkbox', []) - +/** + * @ngdoc directive + * @name ionCheckbox + * @module ionic + * @restrict E + * @description + * No different than the HTML checkbox input, except it's styled differently. + * + * Behaves like any [AngularJS checkbox](http://docs.angularjs.org/api/ng/input/input[checkbox]). + * + * @usage + * ```html + * Checkbox Label + * ``` + */ .directive('ionCheckbox', function() { return { restrict: 'E',