{"id":19772978,"url":"https://github.com/Kira-NT/VanillaRoulette","last_synced_at":"2025-04-30T18:31:23.554Z","repository":{"id":47373396,"uuid":"199732613","full_name":"Kir-Antipov/VanillaRoulette","owner":"Kir-Antipov","description":"Vanilla JavaScript library, which designed to rotate horizontal roulettes","archived":false,"fork":false,"pushed_at":"2019-08-03T19:02:03.000Z","size":21,"stargazers_count":20,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-02T20:01:34.532Z","etag":null,"topics":["demo","roulette","vanilla-javascript-library"],"latest_commit_sha":null,"homepage":"https://kir-antipov.github.io/VanillaRoulette/sample/index.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kir-Antipov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-30T21:51:25.000Z","updated_at":"2023-02-16T00:53:02.000Z","dependencies_parsed_at":"2022-08-03T08:45:58.564Z","dependency_job_id":null,"html_url":"https://github.com/Kir-Antipov/VanillaRoulette","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kir-Antipov%2FVanillaRoulette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kir-Antipov%2FVanillaRoulette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kir-Antipov%2FVanillaRoulette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kir-Antipov%2FVanillaRoulette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kir-Antipov","download_url":"https://codeload.github.com/Kir-Antipov/VanillaRoulette/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224219648,"owners_count":17275477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo","roulette","vanilla-javascript-library"],"created_at":"2024-11-12T05:08:16.622Z","updated_at":"2025-04-30T18:31:18.249Z","avatar_url":"https://github.com/Kir-Antipov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VanillaRoulette.js\n-------------\n\n`VanillaRoulette.js` - vanilla JavaScript library, which designed to rotate horizontal roulettes\n\n## DEMO\n\nYou can see demo [here](https://kir-antipov.github.io/VanillaRoulette/sample/index.html) :)\n\n## Usage\n\nUsing `VanillaRoulette.js` is really simple:\n\n 1. **Link** `CSS` and `JS` to your page:\n\n```html\n\u003clink href=\"libs/vanillaRoulette/vanillaRoulette.min.css\" rel=\"stylesheet\"\u003e\n\u003cscript src=\"libs/vanillaRoulette/vanillaRoulette.min.js\"\u003e\u003c/script\u003e\n```\n\n2. **Create** a container for roulette and fill it with content blocks (you can use any tag filled with any content):\n\n```html\n\u003cdiv id=\"roulette\"\u003e\n    \u003cdiv\u003e...\u003c/div\u003e\n    \u003cdiv\u003e...\u003c/div\u003e\n    \u003cdiv\u003e...\u003c/div\u003e\n    \u003cdiv\u003e...\u003c/div\u003e\n\u003c/div\u003e\n```\n\n 3. **Initialize** the roulette (simply pass a unique selector to the `Roulette` constructor):\n \n ```js\n let roulette = new Roulette(\"#roulette\");\n ```\n \n  4. **Profit**\n\n\u003cbr\u003e\n  \n`VanillaRoulette` has a number of configurable options, so you're welcome to visit our [Wiki](https://github.com/Kir-Antipov/VanillaRoulette/wiki)!)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKira-NT%2FVanillaRoulette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKira-NT%2FVanillaRoulette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKira-NT%2FVanillaRoulette/lists"}