Accordion¶
marimo.accordion
¶
accordion(
items: dict[str, object],
multiple: bool = False,
lazy: bool = False,
) -> Html
Accordion of one or more items.
PARAMETER | DESCRIPTION |
---|---|
items
|
a dictionary of item names to item content; strings are interpreted as markdown
TYPE:
|
multiple
|
whether to allow multiple items to be open simultaneously
TYPE:
|
lazy
|
a boolean, whether to lazily load the accordion content.
This is a convenience that wraps each accordion in a
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
Html
|
An |