Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature: replace default classes with custom #7

Open
scottaohara opened this issue Jun 28, 2018 · 0 comments
Open

Add feature: replace default classes with custom #7

scottaohara opened this issue Jun 28, 2018 · 0 comments

Comments

@scottaohara
Copy link
Owner

Add in feature for use of data-class attribute, where the set value will be the baseline class that the accordion wrapper will have applied to it, and child elements will use as it's BEM base.

e.g.
data-class="my-acc"

should produce:
.my-acc
.my-acc__heading
.my-acc__panel
etc.

@scottaohara scottaohara changed the title Allow for custom classes Add feature: replace default classes with custom Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant