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
We use the 'collapse' component (amongst others), which works great!
However we'd very happy with two additional features:
Allowing for a default-open? Right now, it is always default-closed, but we actually like to have it default-open.
Make the collapse-arrow (and plus sign) clickable when using checkbox. Right now, the 'top bar' is clickable, but the actual collapse-arrow and plus sign is not...
Thanks! :-)
The text was updated successfully, but these errors were encountered:
You can use the checkbox and if the checkbox is checked by default, collapse will be open by default:
<div class="collapse w-96">
<input type="checkbox" checked>
<div class="collapse-title text-xl font-medium">I'm open by default</div>
<div class="collapse-content">
<p>Collapse content reveals with focus. If you add a checkbox, you can control it using checkbox instead of focus. Or you can force-open/force-close using collapse-open and collapse-close classes.</p>
</div>
</div>
We use the 'collapse' component (amongst others), which works great!
However we'd very happy with two additional features:
Thanks! :-)
The text was updated successfully, but these errors were encountered: