Accordion
A vertical collapsing list. Can check out Bootstrap's docs for an example.
Updates
- children.
titlestring ("Untitled") - The title to show for the collapsible item
Example
-- Within a child component
{
title = "My first entry",
}
{
title = "A second entry",
}
-- For example:
local accordion = tab:newAccordion()
accordion:addContainer({
title = "My first entry",
})
accordion:addContainer({
title = "A second entry",
})