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

https://github.com/Kira-NT/VanillaRoulette

Vanilla JavaScript library, which designed to rotate horizontal roulettes
https://github.com/Kira-NT/VanillaRoulette

demo roulette vanilla-javascript-library

Last synced: 6 months ago
JSON representation

Vanilla JavaScript library, which designed to rotate horizontal roulettes

Awesome Lists containing this project

README

          

# VanillaRoulette.js
-------------

`VanillaRoulette.js` - vanilla JavaScript library, which designed to rotate horizontal roulettes

## DEMO

You can see demo [here](https://kir-antipov.github.io/VanillaRoulette/sample/index.html) :)

## Usage

Using `VanillaRoulette.js` is really simple:

1. **Link** `CSS` and `JS` to your page:

```html

```

2. **Create** a container for roulette and fill it with content blocks (you can use any tag filled with any content):

```html


...

...

...

...


```

3. **Initialize** the roulette (simply pass a unique selector to the `Roulette` constructor):

```js
let roulette = new Roulette("#roulette");
```

4. **Profit**




`VanillaRoulette` has a number of configurable options, so you're welcome to visit our [Wiki](https://github.com/Kir-Antipov/VanillaRoulette/wiki)!)