Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / paper-toggle-button / README.md
blob0924fe2aa39c681a3807aa8377e6b429ba2773f5
1 paper-toggle-button
2 ===================
4 `paper-toggle-button` provides a ON/OFF switch that user can toggle the state
5 by tapping or by dragging the swtich.
7 Example:
9 ```html
10 <paper-toggle-button></paper-toggle-button>
11 ```
13 Styling toggle-button:
15 ```html
16 <style is="custom-style">
17   * {
18     --paper-toggle-button-unchecked-bar-color: #FF4081;
19     --paper-toggle-button-unchecked-button-color: #9c27b0;
20     --paper-toggle-button-unchecked-ink-color: #009688;
21     --paper-toggle-button-checked-bar-color: #5677fc;
22     --paper-toggle-button-checked-button-color: #ff4081;
23     --paper-toggle-button-checked-ink-color: #ff4081;
24   }
25 </style>
26 ```