Skip to content

Releases: Rethink-JS/rt-slider

v1.2.0

31 Mar 21:51

Choose a tag to compare

Release 1.2.0 of rt-slider, introducing a full slide state engine, real-time progress tracking, and enhanced developer control.

Changes:

  • Slide state system (Active, previous, next, from/to segment tracking)
  • Anchor-based positioning model (Precise alignment-aware slide calculations)
  • Real-time progress tracking (Scroll progress, segment progress, direction)
  • DOM state attributes (Auto-applied data-rt-slider-* attributes for styling & logic)
  • Custom events (rtSlider:slide, rtSlider:active for external integrations)
  • Public state API (getSlideState, getActiveIndex, getActiveElement)
  • Improved state synchronization (Consistent updates across drag, scroll, resize, and reflow)

v1.1.0

16 Feb 13:30

Choose a tag to compare

Release 1.1.0 of rt-slider, focusing on navigation precision, smoother animation physics, and internal code standardization.

Changes:

  • Smart index-based navigation
  • Refined inertia physics
  • Improved edge alignment
  • Namespace standardization (Migrated internal DOM attributes to data-rt-slider-* to prevent conflicts)

v1.0.0

15 Feb 16:05

Choose a tag to compare

Initial stable release of rt-slider, a lightweight, touch-friendly slider utility with inertia physics.

Features:

  • Hybrid scrolling engine (Lenis inertia on Desktop / Native on Touch)
  • Attribute-driven configuration (Zero-config HTML setup)
  • Integrated UI controls (Prev/Next buttons with auto-active states)
  • Draggable custom scrollbars (Bi-directional sync with scroll position)
  • Smart edge alignment via auto-calculated spacers
  • Layout agnostic (Support for Flexbox and CSS Grid lists)
  • Scroll-aware overlays (Opacity toggles for Start/End indicators)
  • Global JS API (window.rtSlider for programmatic control)
  • Automatic dependency loading (Lenis)