/
index.html
41 lines (34 loc) · 1.01 KB
/
index.html
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
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>gaia-progress</title>
<link rel="stylesheet" type="text/css" href="bower_components/base/base.css">
<link rel="stylesheet" type="text/css" href="bower_components/gaia-theme/gaia-theme.css">
<link rel="stylesheet" type="text/css" href="bower_components/gaia-fonts/style.css">
<script src="bower_components/gaia-theme/lib/gaia-theme-selector.js"></script>
<script src="bower_components/gaia-component/gaia-component.js"></script>
<script src="gaia-progress.js"></script>
<style>
body {
padding: var(--base-m);
padding-top: var(--base-l);
}
gaia-progress {
margin-bottom: var(--base-s);
}
</style>
</head>
<body>
<gaia-theme-selector></gaia-theme-selector>
<gaia-progress id="progress" value="10"></gaia-progress>
<gaia-progress></gaia-progress>
<button id="btn">Load some</button>
<script>
btn.onclick = function() {
var amount = 10;
progress.value += amount;
}
</script>
</body>
</html>