Some options which hide footer for each AccordionItem?
Closed this issue · 2 comments
alexTitakoff commented
Hello!
So nice component!
Tell me, please. Can I hide a footer-block? Native and using standard abilities of the component?
Some option, like?
thanks :]
Lunrtick commented
Thanks Alex!
To hide a footer block, you have two options, as far as I know.
- Don't provide a footer block ;). Useful if you were never using it.
- Toggle the component you pass in to the footer using v-if or v-show. Like this...
<BulmaAccordion>
<BulmaAccordionItem>
<button
v-if="myToggleProperty"
class="button is-primary"
slot="footer">
Click Me!
</button>
</BulmaAccordionItem>
</BulmaAccordion>
There aren't any built in methods of hiding the footer right now though
alexTitakoff commented
ok, thanks!