mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Some loading box tweaks
This commit is contained in:
@@ -22,12 +22,11 @@
|
||||
.controller('LoadingCtrl', function($scope, Loading) {
|
||||
$scope.startLoading = function() {
|
||||
var loading = Loading.show({
|
||||
width: 200,
|
||||
height: 100,
|
||||
animation: 'fade-in',
|
||||
content: 'Loading'
|
||||
content: 'Getting current location...'
|
||||
});
|
||||
setTimeout(function() {
|
||||
loading.hide();
|
||||
}, 2000);
|
||||
};
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user