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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/paper-toggle-button/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, 6 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
1 paper-toggle-button 1 paper-toggle-button
2 =================== 2 ===================
3 3
4 See the [component page](http://www.polymer-project.org/docs/elements/paper-elem ents.html#paper-toggle-button) for more information. 4 `paper-toggle-button` provides a ON/OFF switch that user can toggle the state
5 by tapping or by dragging the swtich.
6
7 Example:
8
9 ```html
10 <paper-toggle-button></paper-toggle-button>
11 ```
12
13 Styling toggle-button:
14
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 ```
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698