From 4c09bc8d0ce93694e65690b28737617b034ccc7a Mon Sep 17 00:00:00 2001 From: Anton Shevchenko Date: Mon, 11 Aug 2014 20:58:25 -0400 Subject: [PATCH 1/4] Update ion-radio documentation Listed all accepted attributes for ion-radio directive based on source code. --- js/angular/directive/radio.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/js/angular/directive/radio.js b/js/angular/directive/radio.js index ad10396d4b..a3507f3c50 100644 --- a/js/angular/directive/radio.js +++ b/js/angular/directive/radio.js @@ -15,6 +15,15 @@ * Choose B * Choose C * ``` + * + * * + * @param {string=} name The name of the radio input. + * @param {expression=} value The value of the radio input. + * @param {expression=} disabled The state of the radio input. + * @param {expression=} ng-value Angular equivalent of the value attribute. + * @param {expression=} ng-model The angular model for the radio input. + * @param {expression=} ng-disabled Angular equivalent of the disabled attribute. + * @param {expression=} ng-change Triggers given expression when radio input's model changes */ IonicModule .directive('ionRadio', function() { From d5b223111808e4fa9e740b7cfc8c2d13b8b5a38b Mon Sep 17 00:00:00 2001 From: Anton Shevchenko Date: Mon, 11 Aug 2014 20:58:59 -0400 Subject: [PATCH 2/4] Update radio.js --- js/angular/directive/radio.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/angular/directive/radio.js b/js/angular/directive/radio.js index a3507f3c50..e6c64667f9 100644 --- a/js/angular/directive/radio.js +++ b/js/angular/directive/radio.js @@ -16,7 +16,6 @@ * Choose C * ``` * - * * * @param {string=} name The name of the radio input. * @param {expression=} value The value of the radio input. * @param {expression=} disabled The state of the radio input. From 2584dae8ab312e31bd1295a12e0b8dbb4882653c Mon Sep 17 00:00:00 2001 From: Anton Shevchenko Date: Mon, 11 Aug 2014 21:01:30 -0400 Subject: [PATCH 3/4] Update radio.js --- js/angular/directive/radio.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/angular/directive/radio.js b/js/angular/directive/radio.js index e6c64667f9..25e0302859 100644 --- a/js/angular/directive/radio.js +++ b/js/angular/directive/radio.js @@ -18,10 +18,10 @@ * * @param {string=} name The name of the radio input. * @param {expression=} value The value of the radio input. - * @param {expression=} disabled The state of the radio input. + * @param {boolean=} disabled The state of the radio input. * @param {expression=} ng-value Angular equivalent of the value attribute. * @param {expression=} ng-model The angular model for the radio input. - * @param {expression=} ng-disabled Angular equivalent of the disabled attribute. + * @param {boolean=} ng-disabled Angular equivalent of the disabled attribute. * @param {expression=} ng-change Triggers given expression when radio input's model changes */ IonicModule From d29eaa35826893952257ed54e3d8edf9870603b4 Mon Sep 17 00:00:00 2001 From: Anton Shevchenko Date: Mon, 11 Aug 2014 22:22:54 -0400 Subject: [PATCH 4/4] Update radio.js --- js/angular/directive/radio.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/angular/directive/radio.js b/js/angular/directive/radio.js index 25e0302859..7b4e24c76c 100644 --- a/js/angular/directive/radio.js +++ b/js/angular/directive/radio.js @@ -19,6 +19,7 @@ * @param {string=} name The name of the radio input. * @param {expression=} value The value of the radio input. * @param {boolean=} disabled The state of the radio input. + * @param {string=} icon The icon to use when the radio input is selected. * @param {expression=} ng-value Angular equivalent of the value attribute. * @param {expression=} ng-model The angular model for the radio input. * @param {boolean=} ng-disabled Angular equivalent of the disabled attribute.