<div
on-click='@this.toggle("accordionOpen")' class="accordion-container">
<div class="accordion-header">
{{headerComp}}
</div>
{{#accordionOpen}}
<div class="accordion-content">
{{contentComp}}
</div>
{{/stateOpen}}
</div><div>
<Accordion headerComp={??} contentComp={??} />
</div>
--
You received this message because you are subscribed to the Google Groups "Ractive.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ractive-js+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks, Chris
Thanks, Chris
To unsubscribe from this group and stop receiving emails from it, send an email to ractive-js+...@googlegroups.com.
Well, making a generic, configurable accordion is a bit cumbersome. If you just want to put a bit of accordion markup around an array or map in data, that's really simple.
There's nothing specific on the roadmap for this particular case, but there are some ongoing discussions about how to make components more effective and easier to build. There are also some ongoing efforts to build a UI library, so this would be a generic component where the cumbersome bits were already taken care of.
To unsubscribe from this group and stop receiving emails from it, send an email to ractive-js+unsubscribe@googlegroups.com.