FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ionic/test/html/loading.html at master · Java1024/ionic · GitHub
Java1024
ionic
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
ionic
/
test
/
html
/
loading.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (33 loc) · 1.19 KB
Breadcrumbs
ionic
/
test
/
html
/
loading.html
Copy path
File metadata and controls
38 lines (33 loc) · 1.19 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html
>
<
html
ng-app
="
ionic.example
"
>
<
head
>
<
meta
charset
="
utf-8
"
>
<
title
>
Loading
</
title
>
<!-- Sets initial viewport load and disables zooming -->
<
meta
name
="
viewport
"
content
="
initial-scale=1, maximum-scale=1, user-scalable=no
"
>
<
link
rel
="
stylesheet
"
href
="
../../dist/css/ionic.css
"
>
</
head
>
<
body
ng-controller
="
LoadingCtrl
"
>
<
button
class
="
button button-dark
"
ng-click
="
startLoading()
"
>
Load
</
button
>
<
script
src
="
../../dist/js/ionic.bundle.js
"
>
</
script
>
<
script
>
angular
.
module
(
'ionic.example'
,
[
'ionic'
]
)
.
controller
(
'LoadingCtrl'
,
function
(
$scope
,
$ionicLoading
)
{
$scope
.
startLoading
=
function
(
)
{
$ionicLoading
.
show
(
{
//template: '<div>Connection problem.</div><br/><div>Please check your internet connection!</div>',
delay
:
100
,
duration
:
3000
}
)
;
$ionicLoading
.
hide
(
)
;
$ionicLoading
.
show
(
{
//template: '<div>Connection problem.</div><br/><div>Please check your internet connection!</div>',
delay
:
100
,
duration
:
3000
}
)
;
console
.
log
(
'Loading'
,
l
)
;
}
;
}
)
;
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL