3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.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/CONTRIBUTORS.txt
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/PATENTS.txt
9 --><html><head><link rel=
"import" href=
"../polymer/polymer.html">
12 Element providing material design circular spinner.
16 <paper-spinner active></paper-spinner>
18 The default spinner cycles between blue, red, yellow and green. It can be customized so
19 that it uses one color only.
23 <style shim-shadowdom>
24 paper-spinner.blue::shadow .circle {
25 border-color: #4285f4;
29 <paper-spinner class="blue" active></paper-spinner>
31 Alt attribute should be set to provide adequate context for accessibility. If not provided,
32 it defaults to 'loading'.
33 Empty alt can be provided to mark the element as decorative if alternative content is provided
34 in another form (e.g. a text block following the spinner).
37 <paper-spinner alt="Loading contacts list" active></paper-spinner>
39 @element paper-spinner
40 @blurb Element providing material design circular spinner.
42 @homepage http://polymerlabs.github.io/paper-spinner
45 </head><body><polymer-element name=
"paper-spinner" attributes=
"active alt" role=
"progressbar" assetpath=
"">
47 <link rel=
"stylesheet" href=
"paper-spinner.css">
49 <div id=
"spinnerContainer">
50 <div class=
"spinner-layer blue">
51 <div class=
"circle-clipper left">
52 <div class=
"circle" fit=
""></div>
53 </div><div class=
"gap-patch">
54 <div class=
"circle" fit=
""></div>
55 </div><div class=
"circle-clipper right">
56 <div class=
"circle" fit=
""></div>
60 <div class=
"spinner-layer red">
61 <div class=
"circle-clipper left">
62 <div class=
"circle" fit=
""></div>
63 </div><div class=
"gap-patch">
64 <div class=
"circle" fit=
""></div>
65 </div><div class=
"circle-clipper right">
66 <div class=
"circle" fit=
""></div>
70 <div class=
"spinner-layer yellow">
71 <div class=
"circle-clipper left">
72 <div class=
"circle" fit=
""></div>
73 </div><div class=
"gap-patch">
74 <div class=
"circle" fit=
""></div>
75 </div><div class=
"circle-clipper right">
76 <div class=
"circle" fit=
""></div>
80 <div class=
"spinner-layer green">
81 <div class=
"circle-clipper left">
82 <div class=
"circle" fit=
""></div>
83 </div><div class=
"gap-patch">
84 <div class=
"circle" fit=
""></div>
85 </div><div class=
"circle-clipper right">
86 <div class=
"circle" fit=
""></div>
94 <script charset=
"utf-8" src=
"paper-spinner-extracted.js"></script></body></html>