View Source ZoonkWeb.Components.Details (Zoonk v0.1.0-alpha)
Details component.
Link to this section Summary
Functions
Renders a details component.
Link to this section Functions
Renders a details component.
examples
Examples
<.details title="Title">
<p>Content</p>
</.details>
attributes
Attributes
title
(:string
) (required) - Title to be displayed even when the component is collapsed.class
(:string
) - Optional additional classes to add to the details element. Defaults tonil
.
slots
Slots
inner_block
(required) - Content to be displayed when the component is expanded.