Accordion#
- marimo.accordion(items: dict[str, object], multiple: bool = False) Html#
Accordion of one or more items.
Example.
mo.accordion({ "Tip": "Use accordions to let users reveal and hide content." })
Args.
items: a dictionary of item names to item content; strings are interpreted as markdownmultiple: whether to allow multiple items to be open simultaneously
Returns.
An
Htmlobject.