This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated dependencies and readme to 0.9.0
- Loading branch information
Taylor Savage
committed
May 15, 2015
1 parent
a6f4d6c
commit fff012f
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters