Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.github/ | 23-Nov-2023 | - | 34 | 14 | ||
demo/ | 23-Nov-2023 | - | 128 | 103 | ||
test/ | 23-Nov-2023 | - | 174 | 132 | ||
.bower.json | D | 23-Nov-2023 | 1.4 KiB | 43 | 43 | |
.gitignore | D | 23-Nov-2023 | 17 | 2 | 1 | |
.travis.yml | D | 23-Nov-2023 | 1.8 KiB | 25 | 24 | |
CONTRIBUTING.md | D | 23-Nov-2023 | 3.4 KiB | 78 | 39 | |
README.md | D | 23-Nov-2023 | 1.6 KiB | 50 | 43 | |
bower.json | D | 23-Nov-2023 | 1.1 KiB | 34 | 33 | |
hero.svg | D | 23-Nov-2023 | 834 | 22 | 20 | |
index.html | D | 23-Nov-2023 | 900 | 29 | 13 | |
paper-progress.html | D | 23-Nov-2023 | 11.1 KiB | 355 | 228 |
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