Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.github/ | 03-May-2024 | - | 34 | 14 | ||
demo/ | 03-May-2024 | - | 98 | 76 | ||
test/ | 03-May-2024 | - | 119 | 75 | ||
.bower.json | D | 03-May-2024 | 1.3 KiB | 47 | 47 | |
.gitignore | D | 03-May-2024 | 18 | 2 | 1 | |
.travis.yml | D | 03-May-2024 | 765 | 24 | 23 | |
CONTRIBUTING.md | D | 03-May-2024 | 3.4 KiB | 78 | 39 | |
README.md | D | 03-May-2024 | 1.5 KiB | 50 | 45 | |
bower.json | D | 03-May-2024 | 1.1 KiB | 39 | 38 | |
hero.svg | D | 03-May-2024 | 1.4 KiB | 28 | 26 | |
index.html | D | 03-May-2024 | 1,013 | 31 | 14 | |
paper-spinner-behavior.html | D | 03-May-2024 | 2.3 KiB | 88 | 66 | |
paper-spinner-lite.html | D | 03-May-2024 | 2.4 KiB | 72 | 24 | |
paper-spinner-styles.html | D | 03-May-2024 | 10.8 KiB | 342 | 284 | |
paper-spinner.html | D | 03-May-2024 | 3.2 KiB | 92 | 36 |
README.md
1[![Build status](https://travis-ci.org/PolymerElements/paper-spinner.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-spinner) 2 3##<paper-spinner> 4 5Material design: [Progress & activity](https://www.google.com/design/spec/components/progress-activity.html) 6 7Element providing a multiple color material design circular spinner. 8 9<!--- 10``` 11<custom-element-demo> 12 <template> 13 <script src="../webcomponentsjs/webcomponents-lite.js"></script> 14 <link rel="import" href="paper-spinner.html"> 15 <link rel="import" href="paper-spinner-lite.html"> 16 <style is="custom-style"> 17 paper-spinner, paper-spinner-lite { 18 margin: 8px 8px 8px 0; 19 } 20 paper-spinner-lite.orange { 21 --paper-spinner-color: var(--google-yellow-500); 22 } 23 paper-spinner-lite.green { 24 --paper-spinner-color: var(--google-green-500); 25 } 26 paper-spinner-lite.thin { 27 --paper-spinner-stroke-width: 1px; 28 } 29 paper-spinner-lite.thick { 30 --paper-spinner-stroke-width: 6px; 31 } 32 #container { 33 display: flex; 34 } 35 </style> 36 <div id="container"> 37 <next-code-block></next-code-block> 38 </div> 39 </template> 40</custom-element-demo> 41``` 42--> 43```html 44<paper-spinner active>...</paper-spinner> 45<paper-spinner-lite active class="orange"></paper-spinner-lite> 46<paper-spinner-lite active class="green"></paper-spinner-lite> 47<paper-spinner-lite active class="thin"></paper-spinner-lite> 48<paper-spinner-lite active class="thick"></paper-spinner-lite> 49``` 50