0.2.6 • Published 8 years ago
@custom-element/radio-button v0.2.6
Radio Button
Material Design Spec Radio buttons allow the selection of a single option from a set.
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/radio-button"></script>
For npm users
$ npm install @custom-element/radio-button --save-dev
import '@custom-element/radio-button'; // import and use it
Example
<a-radio-button name="radio1" id="radio1"></a-radio-button>
<label for="radio1">Unchecked</label>