You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have an accordion where I want to rotate icons by 90 degrees on open, but the component has a hardcoded value of 180.
Describe the solution you'd like
It would be nice to have a data attribute on the icon element to set the degrees value, e.g. data-accordion-degrees='90'.
The text was updated successfully, but these errors were encountered:
In Html Add a data-accordion-degrees attribute to the icon element to specify the rotation angle.
CSS: Define styles for rotation using a CSS class and a CSS variable for flexibility.
JS: add logic to read the data-accordion-degrees attribute and apply the rotation when the accordion is toggled.
Is your feature request related to a problem? Please describe.
I have an accordion where I want to rotate icons by
90
degrees on open, but the component has a hardcoded value of180
.Describe the solution you'd like
It would be nice to have a data attribute on the icon element to set the degrees value, e.g.
data-accordion-degrees='90'
.The text was updated successfully, but these errors were encountered: