handorgel
handorgel copied to clipboard
Different Markup
How can I make it works with markup like this one:
<div class="handorgel">
<div class="card>
<h3 class="handorgel__header">
<button class="handorgel__header__button">
Title
</button>
</h3>
<div class="handorgel__content" data-open>
<div class="handorgel__content__inner">
Content openened by default
</div>
</div>
</div>
<div class="card>
<h3 class="handorgel__header">
<button class="handorgel__header__button">
Title
</button>
</h3>
<div class="handorgel__content" data-open>
<div class="handorgel__content__inner">
Content openened by default
</div>
</div>
</div>
</div>
?
Hi @Malin88 Not possible currently, but I could implement it to make it work with every kind of markup.
Now with the new options headerElements and contentElements, you can change the markup like in your example.