blob: 3a3904ddf9dc16376d34717e9da5fb89c7ca4a48 [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <title>progress test</title>
9
10 <!-- Fonts -->
11 <link href='https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en' rel='stylesheet' type='text/css'>
12 <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
13 rel="stylesheet">
14
15 <!-- Page styles -->
16 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/0.0.1/prism.min.css">
17 <link rel="stylesheet" href="../../material.min.css">
18 <link rel="stylesheet" href="../../components/demos.css">
19 <script src="../../material.min.js"></script>
20
21
22 <style>
23
24 </style>
25
26 </head>
27 <body>
28
29 <div style="padding-top: 24px;">
30
31
32<style>
33 .demo-progress__progress-buffering .mdl-progress {
34 width: 50vw;
35 max-width: 260px;
36 }
37</style>
38
39{% include "progress-buffering.html" %}
40
41<!-- MDL Progress Bar with Buffering -->
42<div id="p3" class="mdl-progress mdl-js-progress"></div>
43<script>
44 document.querySelector('#p3').addEventListener('mdl-componentupgraded', function() {
45 this.MaterialProgress.setProgress(33);
46 this.MaterialProgress.setBuffer(87);
47 });
48</script>
49
50<style>
51 .demo-progress__progress-default .mdl-progress {
52 width: 50vw;
53 max-width: 260px;
54 }
55</style>
56{% include "progress-default.html" %}
57
58<!-- Simple MDL Progress Bar -->
59<div id="p1" class="mdl-progress mdl-js-progress"></div>
60<script>
61 document.querySelector('#p1').addEventListener('mdl-componentupgraded', function() {
62 this.MaterialProgress.setProgress(44);
63 });
64</script>
65
66<style>
67 .demo-progress__progress-indeterminate .mdl-progress {
68 width: 50vw;
69 max-width: 260px;
70 }
71</style>
72{% include "progress-indeterminate.html" %}
73
74<!-- MDL Progress Bar with Indeterminate Progress -->
75<div id="p2" class="mdl-progress mdl-js-progress mdl-progress__indeterminate"></div>
76
77
78 </div>
79 <!-- Built with love using Material Design Lite -->
80
81
82 <script>
83
84 </script>
85 </body>
86</html>