Carousel construction (helpers carouselBuilder.js) - CyanAutomation/judokon GitHub Wiki

The carousel module exports buildCardCarousel, which validates input data, creates a carousel container, and loads cards via generateJudokaCard for each judoka. It also attaches scroll buttons, keyboard navigation, swipe support and scroll markers. This workflow is implemented at lines 233‑324 of helpers/carouselBuilder.js. Utilities within the same module handle scroll buttons (lines 5‑57), add scroll markers (lines 59‑96) and manage keyboard or swipe navigation (lines 180‑230).