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=true
attribute
<paper-switch on=true></paper-switch>
First go into the
paper-switch
directory do a
bower install
to import all the required components.
Then run
python -m SimpleHTTPServer
and go to
http://localhost:8000