pub fn Collapsible(_: CollapsibleProps) -> ElementExpand description
A titled block of a panel that the reader opens and closes.
§Props
For details, see the props struct definition.
title:StringWhat the block holds, named in the panel-title type.
open:Signal<bool>Whether the block is open. The owner keeps it.
id:Option<String>Names the heading (
{id}-heading) and the region it controls ({id}-body); the title’s slug unless given, so two blocks with one title on a page need one each.children:Element