shiny.ui.tags.details#

shiny.ui.tags.details(*args, children=None, **kwargs)#

Create a <details> tag.

The <details> HTML element creates a disclosure widget in which information is visible only when the widget is toggled into an “open” state. A summary or label must be provided using the summary element. Learn more at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

Parameters
  • *args – Child elements to this tag.

  • children (Optional[List[Union[Tagifiable, Tag, MetadataNode, str, TagList, float, None, Dict[str, Union[str, float, bool, None]], Sequence[Union[Tagifiable, Tag, MetadataNode, str, TagList, float, None, Dict[str, Union[str, float, bool, None]], Sequence[ForwardRef]]]]]]) – Child elements to this tag.

  • **kwargs – Attributes to this tag.

Return type

Tag