0.2.6 • Published 8 years ago

@custom-element/switch v0.2.6

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Switch

Material Design Spec Switches allow a selection to be turned on or off.

Installation

Just add the following script(< 2kb gzipped/polyfill in it) to your website. It will add CSS only once if required.

<script defer src="https://unpkg.com/@custom-element/switch"></script>

For npm users

$ npm install @custom-element/switch --save-dev

import '@custom-element/switch'; // import and use it

Examples

<a-switch id="checkbox21"></a-switch> <label for="checkbox21">Unchecked</label>
0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago