• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.github/23-Nov-2023-3414

demo/23-Nov-2023-128103

test/23-Nov-2023-174132

.bower.jsonD23-Nov-20231.4 KiB4343

.gitignoreD23-Nov-202317 21

.travis.ymlD23-Nov-20231.8 KiB2524

CONTRIBUTING.mdD23-Nov-20233.4 KiB7839

README.mdD23-Nov-20231.6 KiB5043

bower.jsonD23-Nov-20231.1 KiB3433

hero.svgD23-Nov-2023834 2220

index.htmlD23-Nov-2023900 2913

paper-progress.htmlD23-Nov-202311.1 KiB355228

README.md

1[![Build status](https://travis-ci.org/PolymerElements/paper-progress.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-progress)
2
3##<paper-progress>
4
5Material design: [Progress & activity](https://www.google.com/design/spec/components/progress-activity.html)
6
7<!---
8```
9<custom-element-demo>
10  <template>
11    <script src="../webcomponentsjs/webcomponents-lite.js"></script>
12    <link rel="import" href="../paper-styles/color.html">
13    <link rel="import" href="paper-progress.html">
14    <style is="custom-style">
15      paper-progress {
16        display: block;
17        width: 100%;
18        margin: 20px 0;
19      }
20      paper-progress.slow {
21        --paper-progress-indeterminate-cycle-duration: 5s;
22      }
23      paper-progress.blue {
24        --paper-progress-active-color: var(--paper-light-blue-500);
25        --paper-progress-secondary-color: var(--paper-light-blue-100);
26      }
27      paper-progress.red {
28        --paper-progress-active-color: var(--paper-red-500);
29        --paper-progress-secondary-color: var(--paper-red-100);
30      }
31    </style>
32    <next-code-block></next-code-block>
33  </template>
34</custom-element-demo>
35```
36-->
37```html
38<paper-progress indeterminate class="blue"></paper-progress>
39<paper-progress indeterminate class="slow red"></paper-progress>
40<paper-progress value="40" secondary-progress="80"></paper-progress>
41```
42
43The progress bars are for situations where the percentage completed can be
44determined. They give users a quick sense of how much longer an operation
45will take.
46
47There is also a secondary progress which is useful for displaying intermediate
48progress, such as the buffer level during a streaming playback progress bar.
49
50