Opener

wrappers: dict
theme: dict

 

__init__(self, items, base_name=None, open=False, **attrs): 

LLM Docstring

A collapsible opener (a simpler, single-level accordion-style disclosure).

  • items: Any

    the {label: content} items

  • base_name: Any

    the id prefix

  • open: bool

    start expanded

  • attrs: Any

    extra attributes

 

create_item(self, item, open=None, **kw): 

LLM Docstring

Build an opener item (header plus collapsible body).

  • item: Any

    the item spec

  • open: Any

    start expanded

  • kw: Any

    extra options

  • :returns: _

    the item element


Feedback

Examples

Templates

Documentation