Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / third_party / polymer / components-chromium / paper-checkbox / paper-checkbox.html
blob1d7d96de00091d1725a52e438ec51d84dbe1f7e1
1 <!--
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 --><!--
9 `paper-checkbox` is a button that can be either checked or unchecked. User
10 can tap the checkbox to check or uncheck it. Usually you use checkboxes
11 to allow user to select multiple options from a set. If you have a single
12 ON/OFF option, avoid using a single checkbox and use `paper-toggle-button`
13 instead.
15 Example:
17 <paper-checkbox></paper-checkbox>
19 <paper-checkbox checked></paper-checkbox>
21 Styling checkbox:
23 To change the ink color for checked state:
25 paper-checkbox::shadow #ink[checked] {
26 color: #4285f4;
29 To change the checkbox checked color:
31 paper-checkbox::shadow #checkbox.checked {
32 background-color: #4285f4;
33 border-color: #4285f4;
36 To change the ink color for unchecked state:
38 paper-checkbox::shadow #ink {
39 color: #b5b5b5;
42 To change the checbox unchecked color:
44 paper-checkbox::shadow #checkbox {
45 border-color: #b5b5b5;
48 @group Paper Elements
49 @element paper-checkbox
50 @extends paper-radio-button
51 @homepage github.io
52 --><html><head><link rel="import" href="../paper-radio-button/paper-radio-button.html">
54 </head><body><polymer-element name="paper-checkbox" extends="paper-radio-button" role="checkbox" assetpath="">
55 <template>
57 <link rel="stylesheet" href="paper-checkbox.css">
59 <div id="checkboxContainer" class="{{ {labeled: label} | tokenList }}">
61 <paper-ripple id="ink" class="circle recenteringTouch" checked?="{{!checked}}"></paper-ripple>
63 <div id="checkbox">
64 <div id="checkmark" on-animationend="{{checkboxAnimationEnd}}" on-webkitanimationend="{{checkboxAnimationEnd}}"></div>
65 </div>
67 </div>
69 <div id="checkboxLabel" hidden?="{{!label}}">{{label}}<content></content></div>
71 </template>
73 </polymer-element>
74 <script charset="utf-8" src="paper-checkbox-extracted.js"></script></body></html>