mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(list): use timeout.flush()
This commit is contained in:
1
js/angular/controller/sideMenuController.js
vendored
1
js/angular/controller/sideMenuController.js
vendored
@@ -24,6 +24,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform) {
|
||||
};
|
||||
|
||||
this.dragThreshold = 25;
|
||||
this.dragOnlyEdge = false;
|
||||
this.edgeDragThreshold = function(value) {
|
||||
if (arguments.length) {
|
||||
if (angular.isNumber(value) && value > 0) {
|
||||
|
||||
Reference in New Issue
Block a user