OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
9 --> | 9 --> |
10 | 10 |
(...skipping 30 matching lines...) Expand all Loading... |
41 `--paper-spinner-color` | Color of the spinner | `--google-blue-500` | 41 `--paper-spinner-color` | Color of the spinner | `--google-blue-500` |
42 `--paper-spinner-stroke-width` | The width of the spinner stroke | 3px | 42 `--paper-spinner-stroke-width` | The width of the spinner stroke | 3px |
43 | 43 |
44 @group Paper Elements | 44 @group Paper Elements |
45 @element paper-spinner-lite | 45 @element paper-spinner-lite |
46 @hero hero.svg | 46 @hero hero.svg |
47 @demo demo/index.html | 47 @demo demo/index.html |
48 --> | 48 --> |
49 | 49 |
50 <dom-module id="paper-spinner-lite"> | 50 <dom-module id="paper-spinner-lite"> |
51 <template> | 51 <template strip-whitespace> |
52 <style include="paper-spinner-styles"></style> | 52 <style include="paper-spinner-styles"></style> |
53 | 53 |
54 <div id="spinnerContainer" class-name="[[__computeContainerClasses(active, _
_coolingDown)]]"> | 54 <div id="spinnerContainer" class-name="[[__computeContainerClasses(active, _
_coolingDown)]]"> |
55 <div class="spinner-layer"> | 55 <div class="spinner-layer"> |
56 <div class="circle-clipper left"> | 56 <div class="circle-clipper left"></div> |
57 <div class="circle"></div> | 57 <div class="circle-clipper right"></div> |
58 </div><div class="gap-patch"> | |
59 <div class="circle"></div> | |
60 </div><div class="circle-clipper right"> | |
61 <div class="circle"></div> | |
62 </div> | |
63 </div> | 58 </div> |
64 </div> | 59 </div> |
65 </template> | 60 </template> |
66 | 61 |
67 <script> | 62 <script> |
68 Polymer({ | 63 Polymer({ |
69 is: 'paper-spinner-lite', | 64 is: 'paper-spinner-lite', |
70 | 65 |
71 behaviors: [ | 66 behaviors: [ |
72 Polymer.PaperSpinnerBehavior | 67 Polymer.PaperSpinnerBehavior |
73 ] | 68 ] |
74 }); | 69 }); |
75 </script> | 70 </script> |
76 </dom-module> | 71 </dom-module> |
OLD | NEW |