A Switch Web Component built using Polymer
A Switch Web Component built for Polymer
Import component using
<link rel="import" href="./path/to/paper-switch.html">
Then add the following markup
<paper-switch></paper-switch>
To turn the switch on by default use the
on=trueattribute
<paper-switch on=true></paper-switch>
First go into the
paper-switchdirectory do a
bower installto import all the required components.
Then run
python -m SimpleHTTPServerand go to
http://localhost:8000