Skip to content

Commit a47be46

Browse files
quidedanbucholtz
authored andcommitted
Update loading.js (#8035)
show how options can be set
1 parent 305d68d commit a47be46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: js/angular/service/loading.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ var LOADING_TPL =
1919
* .controller('LoadingCtrl', function($scope, $ionicLoading) {
2020
* $scope.show = function() {
2121
* $ionicLoading.show({
22-
* template: 'Loading...'
22+
* template: 'Loading...',
23+
* duration: 3000
2324
* }).then(function(){
2425
* console.log("The loading indicator is now displayed");
2526
* });

0 commit comments

Comments
 (0)