component-library icon indicating copy to clipboard operation
component-library copied to clipboard

Allow different class names

Open nicholasio opened this issue 4 years ago • 1 comments

Currently, we need to use accordion-header, accordion-content, accordion-label classes.

It would be nice to allow the user the use other class names and pass those class names to the plugin via options maybe?

Caveat is they would need to use their own CSS.

nicholasio avatar Feb 15 '21 12:02 nicholasio

@nicholasio The PR linked adds settings for custom classes to the options. I wonder if we should change up the CSS so we can still have working accordions with custom classes by targeting them another way (data- maybe)?

Firestorm980 avatar Mar 01 '21 21:03 Firestorm980