• Home
Name Date Size #Lines LOC

..--

.github/03-May-2024-3414

demo/03-May-2024-9876

test/03-May-2024-11975

.bower.jsonD03-May-20241.3 KiB4747

.gitignoreD03-May-202418 21

.travis.ymlD03-May-2024765 2423

CONTRIBUTING.mdD03-May-20243.4 KiB7839

README.mdD03-May-20241.5 KiB5045

bower.jsonD03-May-20241.1 KiB3938

hero.svgD03-May-20241.4 KiB2826

index.htmlD03-May-20241,013 3114

paper-spinner-behavior.htmlD03-May-20242.3 KiB8866

paper-spinner-lite.htmlD03-May-20242.4 KiB7224

paper-spinner-styles.htmlD03-May-202410.8 KiB342284

paper-spinner.htmlD03-May-20243.2 KiB9236

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