mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(keywords): Add some keywords to checkbox/radio/toggle
This commit is contained in:
@@ -10,9 +10,9 @@ angular.module('ionic.ui.checkbox', [])
|
||||
* @restrict E
|
||||
* @codepen hqcju
|
||||
* @description
|
||||
* 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.
|
||||
*
|
||||
* Behaves like any [AngularJS checkbox](http://docs.angularjs.org/api/ng/input/input[checkbox]).
|
||||
* The checkbox behaves like any [AngularJS checkbox](http://docs.angularjs.org/api/ng/input/input[checkbox]).
|
||||
*
|
||||
* @usage
|
||||
* ```html
|
||||
|
||||
4
js/ext/angular/src/directive/ionicRadio.js
vendored
4
js/ext/angular/src/directive/ionicRadio.js
vendored
@@ -10,9 +10,9 @@ angular.module('ionic.ui.radio', [])
|
||||
* @restrict E
|
||||
* @codepen saoBG
|
||||
* @description
|
||||
* No different than the HTML radio input, except it's styled differently.
|
||||
* The radio directive is no different than the HTML radio input, except it's styled differently.
|
||||
*
|
||||
* Behaves like any [AngularJS radio](http://docs.angularjs.org/api/ng/input/input[radio]).
|
||||
* Radio behaves like any [AngularJS radio](http://docs.angularjs.org/api/ng/input/input[radio]).
|
||||
*
|
||||
* @usage
|
||||
* ```html
|
||||
|
||||
4
js/ext/angular/src/directive/ionicToggle.js
vendored
4
js/ext/angular/src/directive/ionicToggle.js
vendored
@@ -11,11 +11,11 @@ angular.module('ionic.ui.toggle', [])
|
||||
* @restrict E
|
||||
*
|
||||
* @description
|
||||
* An animated switch which binds a given model to a boolean.
|
||||
* A toggle is an animated switch which binds a given model to a boolean.
|
||||
*
|
||||
* Allows dragging of the switch's nub.
|
||||
*
|
||||
* Behaves like any [AngularJS checkbox](http://docs.angularjs.org/api/ng/input/input[checkbox]) otherwise.
|
||||
* The toggle behaves like any [AngularJS checkbox](http://docs.angularjs.org/api/ng/input/input[checkbox]) otherwise.
|
||||
*
|
||||
*/
|
||||
.directive('ionToggle', ['$ionicGesture', '$timeout', function($ionicGesture, $timeout) {
|
||||
|
||||
Reference in New Issue
Block a user