navigationcontrollerz-sliderexperimental

Slider

Scroll-snap carousel for variable-width items, with drag/swipe, seamless looping, set-based paging, centered mode, and autoplay.

Notes

  • The track is .z-slider-items (or [data-part="items"] / [data-part="list"]); nav is .z-slider-nav (or [data-part="nav"]).
  • Nav controls target slides with data-slider-item="<index|value>"; data-slider-ignore excludes a child from the slide list.
  • Looping reorders slides with CSS order and scroll compensation, so the DOM order (and tab order) stays canonical; finite disables it.
  • Drag navigation suppresses the follow-up click and ignores interactive content (buttons, inputs, [data-no-drag], …).
  • Slide videos with data-autoplay play while active; others pause unless data-keep-playing is set.