Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
updated dependencies and readme to 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor Savage committed May 15, 2015
1 parent a6f4d6c commit fff012f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
paper-toggle-button
===================

See the [component page](http://www.polymer-project.org/docs/elements/paper-elements.html#paper-toggle-button) for more information.
`paper-toggle-button` provides a ON/OFF switch that user can toggle the state
by tapping or by dragging the swtich.

Example:

<paper-toggle-button></paper-toggle-button>

Styling toggle-button:
<style is="custom-style">
* {
--paper-toggle-button-unchecked-bar-color: #FF4081;
--paper-toggle-button-unchecked-button-color: #9c27b0;
--paper-toggle-button-unchecked-ink-color: #009688;
--paper-toggle-button-checked-bar-color: #5677fc;
--paper-toggle-button-checked-button-color: #ff4081;
--paper-toggle-button-checked-ink-color: #ff4081;
}
</style>
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "paper-toggle-button",
"version": "0.9.1",
"description": "A material design toggle button",
"description": "A material design toggle button control",
"authors": [
"The Polymer Authors"
],
Expand Down

0 comments on commit fff012f

Please sign in to comment.