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

Side by Side Diff: polymer_1.2.3/bower_components/paper-spinner/README.md

Issue 1581713003: [third_party] add polymer 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: 1.2.3 Created 4 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1
2 <!---
3
4 This README is automatically generated from the comments in these files:
5 paper-spinner-behavior.html paper-spinner-lite.html paper-spinner.html
6
7 Edit those files, and our readme bot will duplicate them over here!
8 Edit this file, and the bot will squash your changes :)
9
10 -->
11
12 [![Build Status](https://travis-ci.org/PolymerElements/paper-spinner.svg?branch= master)](https://travis-ci.org/PolymerElements/paper-spinner)
13
14 _[Demo and API Docs](https://elements.polymer-project.org/elements/paper-spinner )_
15
16
17 ##&lt;paper-spinner&gt;
18
19
20 Material design: [Progress & activity](https://www.google.com/design/spec/compon ents/progress-activity.html)
21
22 Element providing a multiple color material design circular spinner.
23
24 <paper-spinner active></paper-spinner>
25
26 The default spinner cycles between four layers of colors; by default they are
27 blue, red, yellow and green. It can be customized to cycle between four differen t
28 colors. Use <paper-spinner-lite> for single color spinners.
29
30 ### Accessibility
31
32 Alt attribute should be set to provide adequate context for accessibility. If no t provided,
33 it defaults to 'loading'.
34 Empty alt can be provided to mark the element as decorative if alternative conte nt is provided
35 in another form (e.g. a text block following the spinner).
36
37 <paper-spinner alt="Loading contacts list" active></paper-spinner>
38
39 ### Styling
40
41 The following custom properties and mixins are available for styling:
42
43 Custom property | Description | Default
44 ----------------|-------------|----------
45 `--paper-spinner-layer-1-color` | Color of the first spinner rotation | `--googl e-blue-500`
46 `--paper-spinner-layer-2-color` | Color of the second spinner rotation | `--goog le-red-500`
47 `--paper-spinner-layer-3-color` | Color of the third spinner rotation | `--googl e-yellow-500`
48 `--paper-spinner-layer-4-color` | Color of the fourth spinner rotation | `--goog le-green-500`
49
50
51
52 ##&lt;paper-spinner-lite&gt;
53
54
55 Material design: [Progress & activity](https://www.google.com/design/spec/compon ents/progress-activity.html)
56
57 Element providing a single color material design circular spinner.
58
59 <paper-spinner-lite active></paper-spinner-lite>
60
61 The default spinner is blue. It can be customized to be a different color.
62
63 ### Accessibility
64
65 Alt attribute should be set to provide adequate context for accessibility. If no t provided,
66 it defaults to 'loading'.
67 Empty alt can be provided to mark the element as decorative if alternative conte nt is provided
68 in another form (e.g. a text block following the spinner).
69
70 <paper-spinner-lite alt="Loading contacts list" active></paper-spinner-lite>
71
72 ### Styling
73
74 The following custom properties and mixins are available for styling:
75
76 Custom property | Description | Default
77 ----------------|-------------|----------
78 `--paper-spinner-color` | Color of the spinner | `--google-blue-500`
79
80
81
82 <!-- No docs for Polymer.PaperSpinnerBehavior found. -->
OLDNEW
« no previous file with comments | « polymer_1.2.3/bower_components/paper-spinner/CONTRIBUTING.md ('k') | polymer_1.2.3/bower_components/paper-spinner/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698