mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(code pens): Added codepens to checkbox, radio, toggle
This commit is contained in:
@@ -8,6 +8,7 @@ angular.module('ionic.ui.checkbox', [])
|
||||
* @name ionCheckbox
|
||||
* @module ionic
|
||||
* @restrict E
|
||||
* @codepen hqcju
|
||||
* @description
|
||||
* No different than the HTML checkbox input, except it's styled differently.
|
||||
*
|
||||
|
||||
1
js/ext/angular/src/directive/ionicRadio.js
vendored
1
js/ext/angular/src/directive/ionicRadio.js
vendored
@@ -8,6 +8,7 @@ angular.module('ionic.ui.radio', [])
|
||||
* @name ionRadio
|
||||
* @module ionic
|
||||
* @restrict E
|
||||
* @codepen saoBG
|
||||
* @description
|
||||
* No different than the HTML radio input, except it's styled differently.
|
||||
*
|
||||
|
||||
3
js/ext/angular/src/directive/ionicToggle.js
vendored
3
js/ext/angular/src/directive/ionicToggle.js
vendored
@@ -7,6 +7,7 @@ angular.module('ionic.ui.toggle', [])
|
||||
* @ngdoc directive
|
||||
* @name ionToggle
|
||||
* @module ionic
|
||||
* @codepen tfAzj
|
||||
* @restrict E
|
||||
*
|
||||
* @description
|
||||
@@ -55,7 +56,7 @@ angular.module('ionic.ui.toggle', [])
|
||||
checkbox = el.children[0];
|
||||
track = el.children[1];
|
||||
handle = track.children[0];
|
||||
|
||||
|
||||
var ngModelController = angular.element(checkbox).controller('ngModel');
|
||||
|
||||
$scope.toggle = new ionic.views.Toggle({
|
||||
|
||||
Reference in New Issue
Block a user