matthiasott / a11y-accordion-tabs

A script for an accessible accordion tabs component
MIT License
71 stars 6 forks source link

Can you support using data attributes? #4

Closed hmartens closed 5 years ago

hmartens commented 5 years ago

Thanks for the great work. Can or does it support using data attributes to change settings? For instance when you use the Slick Slider js, you can add data attributes for specific settings like:

I would like to change/call settings straight from the html. Thank you once again for this.
hmartens commented 5 years ago

Thank you, don't worry about this issue, I see on your demo page that you support it. It would be great if you would show examples of the code on your readme file.

Thank you