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
- Host: GitHub
- URL: https://github.com/Kira-NT/VanillaRoulette
- Owner: Kir-Antipov
- License: mit
- Created: 2019-07-30T21:51:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-03T19:02:03.000Z (about 6 years ago)
- Last Synced: 2023-03-02T20:01:34.532Z (over 2 years ago)
- Topics: demo, roulette, vanilla-javascript-library
- Language: JavaScript
- Homepage: https://kir-antipov.github.io/VanillaRoulette/sample/index.html
- Size: 20.5 KB
- Stars: 20
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)!)