Name Last Update
..
demo Loading commit data...
test Loading commit data...
.bower.json Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
bower.json Loading commit data...
hero.svg Loading commit data...
index.html Loading commit data...
paper-toggle-button.html Loading commit data...

README.md

paper-toggle-button

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>