ExEffectiveBootstrap v0.1.17 ExEffectiveBootstrap.Collapse View Source
Bootstrap collapse
Link to this section Summary
Functions
Bootstrap collapse. Expand/collapse additional content.
Link to this section Functions
Link to this function
collapse(label, opts \\ [], list)
View Sourcecollapse( String.t() | Phoenix.HTML.Safe.t(), Keyword.t(), {:do, Phoenix.HTML.Safe.t()} ) :: Phoenix.HTML.Safe.t()
Bootstrap collapse. Expand/collapse additional content.
Examples:
<%= collapse("Click to expand") do %>
This is the expanded content
<% end %>