exadel-inc / esl

Lightweight and flexible UI component library based on web components technology for creating basic UX modules
https://esl-ui.com
MIT License
58 stars 9 forks source link

[🚀 esl-carousel]: add `pre-active` attribute on the base level API #2161

Closed ala-n closed 6 months ago

ala-n commented 7 months ago

As an ESL Carousel consumer, I want to be able to access from CSS (e.g., for animation purposes) the slide that is going to be active (at the beginning of the animation).

The attribute name pre-active is discussable.

Behavior spec:

  1. An attribute appears at the beginning of the slide change animation
  2. An attribute available only in the process of animation (should be unset at the end)
  3. An attribute should appear only on inactive slides (in multi-slide mode)

Priority: High Base Branch: epic/esl-carousel

ala-n commented 4 months ago

:tada: This issue has been resolved in version 5.0.0-beta.12 :tada:

The release is available on:

Your semantic-release bot :package::rocket: