# @riot-material/rm-radio

> You can install it via nodejs ```sh npm install @riot-material/rm-radio ``` or download one of the bundled file ```js /** * `dist/index.js` * `dist/index+libs.js` */ requirejs.config({ paths: { "@riot-material/rm-radio": "path/to/@r

Latest version **1.2.0** (published 2021-10-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @riot-material/rm-radio
pnpm add @riot-material/rm-radio
yarn add @riot-material/rm-radio
bun add @riot-material/rm-radio
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2021-10-01 |
| First published | 2020-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 71 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kal Aster |
| Maintainers | elitexxl97 |

## Links

- npm: https://www.npmjs.com/package/@riot-material/rm-radio
- npm.io page: https://npm.io/package/@riot-material/rm-radio

## Dependencies (1)

- [@riot-material/ripple](https://npm.io/package/@riot-material/ripple.md) ^1.2.0

## Recent versions

- 1.2.0 (latest) — 2021-10-01
- 1.1.0 — 2021-07-23
- 1.0.2 — 2020-12-10
- 1.0.1 — 2020-11-26
- 1.0.0 — 2020-11-21

## README

# radio component based on [Material Design](https://material.io/) for [riot-material](https://github.com/riot-material/riot-material)
## Installation
You can install it via nodejs
```sh
npm install @riot-material/rm-radio
```
or download one of the bundled file
```js
/**
 * `dist/index.js`
 * `dist/index+libs.js`
 */
requirejs.config({
  paths: {
      "@riot-material/rm-radio": "path/to/@riot-material/rm-radio",
   },
});

require(['@riot-material/rm-radio'], function (RadioComponent) {
    // ...
});

/**
 * `dist/index.es.js`
 * npm installation
 */
import RadioComponent from "@riot-material/rm-radio";

```
otherwise you can include the script in your project html
```html
<script src="@riot-material/rm-radio/index.js" />
<!-- or -->
<script src="@riot-material/rm-radio/index+libs.js" />
```
and access it via
```js
window.riotMaterial.components.radio;
```
*Note: all the bundled file having `+libs` contain also the dependencies needed by the component, which, in this case, are:  
`@riot-material/ripple`  
Be sure to have them when installing manually or including via html*
## Properties
### `checked` optional
### `disabled` optional
Any value will be result in the disabled state
### `label` optional
### `name` optional
### `readonly` optional
## Methods
### `getName(): string|null`
### `isChecked(): boolean`
### `isDisabled(): boolean`
### `isReadonly(): boolean`

---
_Source: https://npm.io/package/@riot-material/rm-radio · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
