mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Update ion-radio documentation
Listed all accepted attributes for ion-radio directive based on source code.
This commit is contained in:
9
js/angular/directive/radio.js
vendored
9
js/angular/directive/radio.js
vendored
@@ -15,6 +15,15 @@
|
||||
* <ion-radio ng-model="choice" ng-value="'B'">Choose B</ion-radio>
|
||||
* <ion-radio ng-model="choice" ng-value="'C'">Choose C</ion-radio>
|
||||
* ```
|
||||
*
|
||||
* *
|
||||
* @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() {
|
||||
|
||||
Reference in New Issue
Block a user