Home → Bikeshed → Components
details.html
Published:
Puts the enclosed content into a summary/details element (disclosure widget).
Usage
{{% details summary="" attr1="" attr2=""… %}}
<!-- Content to disclose here… -->
{{% /details %}}
summary
is the<summary>
element that labels the widget. Must be present.- any attributes with their values except
summary
.
Source Code
{{ .Get "summary" }}
{{ .Inner | safeHTML }}