Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: third_party/polymer/v0_8/components-chromium/paper-spinner/README.md

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v0_8/components-chromium/paper-spinner/README.md
diff --git a/third_party/polymer/v0_8/components-chromium/paper-spinner/README.md b/third_party/polymer/v0_8/components-chromium/paper-spinner/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..c447c8bb0c9232b6ced32ac9f03186f51e0444a2
--- /dev/null
+++ b/third_party/polymer/v0_8/components-chromium/paper-spinner/README.md
@@ -0,0 +1,45 @@
+paper-spinner
+=============
+
+Element providing material design circular spinner.
+
+##### Example
+
+```html
+<paper-spinner active></paper-spinner>
+```
+
+The default spinner cycles between four layers of colors; by default they are
+blue, red, yellow and green. It can be customized so that it uses one color only
+by setting all the layer colors to the same value.
+
+##### Example
+
+```html
+<style is="custom-style">
+ paper-spinner .rainbow {
+ --paper-spinner-layer-1-color: yellow;
+ --paper-spinner-layer-2-color: red;
+ --paper-spinner-layer-3-color: blue;
+ --paper-spinner-layer-4-color: green;
+ }
+
+ paper-spinner .red {
+ --paper-spinner-layer-1-color: red;
+ --paper-spinner-layer-2-color: red;
+ --paper-spinner-layer-3-color: red;
+ --paper-spinner-layer-4-color: red;
+ }
+</style>
+```
+
+Alt attribute should be set to provide adequate context for accessibility. If not provided,
+it defaults to 'loading'.
+Empty alt can be provided to mark the element as decorative if alternative content is provided
+in another form (e.g. a text block following the spinner).
+
+##### Example
+
+```html
+<paper-spinner alt="Loading contacts list" active></paper-spinner>
+```

Powered by Google App Engine
This is Rietveld 408576698