An open API service indexing awesome lists of open source software.

https://github.com/a-x-/button-radio

Make pushable button radio behaviour.
https://github.com/a-x-/button-radio

Last synced: 3 months ago
JSON representation

Make pushable button radio behaviour.

Awesome Lists containing this project

README

        

button-radio
============

Make pushable button radio behaviour.

VanillaJS library without jQuery, bootstrap and etc. dependency.

# Example

```html


Mode 1
Mode 2
Mode 3

```

![button-radio Example](/button-radio.png)

```js
var buttonRadio = new ButtonRadio('.button-radio-group', function (response) {
// The on change callback.
// callback code here ...
console.log(response);
// response:
// {
// prevButton: Node,
// curButton: Node,
// groupNode: Node,
// value: string,
// prevValue: string
// }
});
```

# Status

This is under active development stage **(not production ready)**.
But i already use this library in my own projects.

| **Idea** | Alpha | Beta | RC | Production |
|:--------:|:-----:|:----:|:--:|:----------:|
| **Ok** |v.0.1.x| — | — | — |

# Using

# Demo

# License

All under MIT license.

# Contribution

You're welcome!
I watch github issues and mailbox ([email protected]).

English typo-fixes are welcome too.