Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
Help disambiguate the usage of $ionicLoading.hide() vs $ionicLoading instance.hide()
  • Loading branch information
thuey committed Oct 31, 2015
1 parent 5b39fa3 commit 54d433a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/angular/service/loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ function($ionicLoadingConfig, $ionicBody, $ionicTemplateLoader, $ionicBackdrop,
* @ngdoc method
* @name $ionicLoading#show
* @description Shows a loading indicator. If the indicator is already shown,
* it will set the options given and keep the indicator shown.
* it will set the options given and keep the indicator shown. Note: While this
* function still returns an $ionicLoading instance for backwards compatiblity,
* its use has been deprecated.
* @param {object} opts The options for the loading indicator. Available properties:
* - `{string=}` `template` The html content of the indicator.
* - `{string=}` `templateUrl` The url of an html template to load as the content of the indicator.
Expand Down

0 comments on commit 54d433a

Please sign in to comment.