mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix($ionicLoading): do not flicker when showing long loading messages
Closes #1252
This commit is contained in:
@@ -18,9 +18,9 @@
|
||||
.controller('LoadingCtrl', function($scope, $ionicLoading) {
|
||||
$scope.startLoading = function() {
|
||||
$ionicLoading.show({
|
||||
template: 'Getting current location...',
|
||||
template: '<div>Connection problem.</div><br/><div>Please check your internet connection!</div>',
|
||||
delay: 100,
|
||||
duration: 500
|
||||
duration: 3000
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user