shiny.ui.tags.template#

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

Create a <template> tag.

The <template> HTML element is a mechanism for holding HTML that is not to be rendered immediately when a page is loaded but may be instantiated subsequently during runtime using JavaScript. Learn more at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template

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