refactor(toggle): platform config toggle styles

This commit is contained in:
Adam Bradley
2015-01-21 12:55:11 -06:00
parent 65aa2af95d
commit 0e11a087a2
5 changed files with 97 additions and 67 deletions

View File

@@ -113,6 +113,22 @@
* @returns {boolean}
*/
/**
* @ngdoc method
* @name $ionicConfigProvider#form.checkbox
* @description Checkbox style. Android defaults to `square` and iOS defaults to `circle`.
* @param {string} value
* @returns {string}
*/
/**
* @ngdoc method
* @name $ionicConfigProvider#form.toggle
* @description Toggle item style. Android defaults to `small` and iOS defaults to `large`.
* @param {string} value
* @returns {string}
*/
/**
* @ngdoc method
* @name $ionicConfigProvider#tabs.style
@@ -220,7 +236,8 @@ IonicModule
previousTitleText: PLATFORM
},
form: {
checkbox: PLATFORM
checkbox: PLATFORM,
toggle: PLATFORM
},
scrolling: {
jsScrolling: PLATFORM
@@ -262,7 +279,8 @@ IonicModule
},
form: {
checkbox: 'circle'
checkbox: 'circle',
toggle: 'large'
},
scrolling: {
@@ -309,7 +327,8 @@ IonicModule
},
form: {
checkbox: 'square'
checkbox: 'square',
toggle: 'small'
},
tabs: {