feat: edge flags, overflow, and add/remove-aware observers
This commit is contained in:
@@ -5,6 +5,11 @@ at each `v*` release tag.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.2.0] - 2026-07-02
|
||||
|
||||
- Core: `atStart`/`atEnd`/`overflow` getters; `change` now fires on any state change (index, count, overflow), consumers re-read getters.
|
||||
- Core: ResizeObserver drives `overflow`; MutationObserver observes/unobserves slides so count/index/edge flags stay correct across add/remove without recreating the carousel.
|
||||
|
||||
## [0.1.0] - 2026-07-01
|
||||
|
||||
- Initial core (`createCarousel`), `dots()` fallback, `autoplay()`, and `carousel.css`.
|
||||
|
||||
Reference in New Issue
Block a user