{"id":14996232,"url":"https://github.com/bitstarr/slide-roll","last_synced_at":"2026-03-09T18:01:59.025Z","repository":{"id":231538868,"uuid":"781010953","full_name":"bitstarr/slide-roll","owner":"bitstarr","description":"web component to create simple slide show","archived":false,"fork":false,"pushed_at":"2025-02-06T15:45:30.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-06T16:39:10.630Z","etag":null,"topics":["carousel","no-dependencies","slider","slideshow","webcomponent"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/bitstarr.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-02T15:28:07.000Z","updated_at":"2025-02-06T15:45:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7624a93-6769-4843-a4be-9fb142b2314b","html_url":"https://github.com/bitstarr/slide-roll","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"241f8006e6563cdb7f9e7cdfe38388ecb833c7d9"},"previous_names":["bitstarr/slide-roll"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitstarr%2Fslide-roll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitstarr%2Fslide-roll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitstarr%2Fslide-roll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitstarr%2Fslide-roll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitstarr","download_url":"https://codeload.github.com/bitstarr/slide-roll/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243131023,"owners_count":20241176,"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":["carousel","no-dependencies","slider","slideshow","webcomponent"],"created_at":"2024-09-24T16:33:36.570Z","updated_at":"2026-03-09T18:01:53.756Z","avatar_url":"https://github.com/bitstarr.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `\u003cslide-roll\u003e`\n\nSimple (now interactive) slide show. You know these things designers use to prevent bloodsheds in management meetings…\n\nIt provides basic functionality, by moving through the slides in a given interval. No separate dependencies, only modern CSS and little JavaScrip logic.\n\n[Check out the Demo](https://bitstarr.github.io/slide-roll/demo.html)\n\n## Usage\n\n```html\n\u003cscript type=\"module\" src=\"slide-roll.js\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"slide-roll.css\"\u003e\n\n\u003cslide-roll class=\"slide-roll\" interval=\"4\"\u003e\n    \u003cdiv data-track\u003e\n        \u003cdiv class=\"stage\"\u003e\n            \u003cimg\n                class=\"image\"\n                src=\"https://picsum.photos/333/500?random=1\"\n                width=960\n                height=540\n                alt=\"Random Image from Unsplash\"\n            \u003e\n            \u003cp\u003e\n                Fancy call to action text?\n            \u003c/p\u003e\n        \u003c/div\u003e\n        \u003cdiv class=\"stage\"\u003e\n            \u003cimg\n                class=\"image\"\n                src=\"https://picsum.photos/333/500?random=2\"\n                width=960\n                height=540\n                alt=\"Another random Image from Unsplash\"\n            \u003e\n            \u003cp\u003e\n                Have some more text?\n            \u003c/p\u003e\n        \u003c/div\u003e\n        […]\n    \u003c/div\u003e\n    \u003cdiv data-indicator\u003e\u003c/div\u003e\n    \u003cdiv class=\"controls\"\u003e\n        \u003cbutton data-control=\"prev\"\u003eprev\u003c/button\u003e\n        \u003cbutton data-control=\"next\"\u003enext\u003c/button\u003e\n    \u003c/div\u003e\n\u003c/slide-roll \u003e\n```\n\nBasic structure and styling comes from the slide-roll CSS, which targets the `.slide-roll` class and the data attributes for the track and indicator.\n\nInside the slides you can do whatever you want. The slides will be the full width of the slide-roll. The height of all slides needs to be the same. Inside you can put only an image or create fancy layout with a bunch of HTML elements and use flexbox, grids or absolute positioning.\n\nThe interval can be set via the `interval` attribute and is given in seconds.\n\nThe slideshow will pause if the user hovers (mouseover) or touches the element. You can set the attribute `nonstop` to the slide-roll, to prevent pausing.\n\nThe indicator is optional as well as the controls. Simply remove the `div`s from the example. You can customize the design of the indication display (look at the demo) since the default styling has a very low specificy.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitstarr%2Fslide-roll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitstarr%2Fslide-roll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitstarr%2Fslide-roll/lists"}