mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat($ionicSlideBoxDelegate): add enableSlide(true/false) method
Closes #1122
This commit is contained in:
7
js/angular/service/slideBoxDelegate.js
vendored
7
js/angular/service/slideBoxDelegate.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user