feat($ionicSlideBoxDelegate): add enableSlide(true/false) method

Closes #1122
This commit is contained in:
Andy Joslin
2014-04-30 09:38:24 -06:00
parent 793b9f49cd
commit e003bf18bc
2 changed files with 24 additions and 4 deletions

View File

@@ -52,6 +52,13 @@ IonicModule
* @param {number=} speed The number of milliseconds for the change to take.
*/
'slide',
/**
* @ngdoc method
* @name $ionicSlideBoxDelegate#enableSlide
* @param {boolean=} shouldEnable Whether to enable sliding the slidebox.
* @returns {boolean} Whether sliding is enabled.
*/
'enableSlide',
/**
* @ngdoc method
* @name $ionicSlideBoxDelegate#previous