R/directives.R
x_collapse.Rd
Expand and collapse elements using smooth animations. Requires Plugin "Collapse"
x_collapse(duration = NULL, min = NULL)
Optional duration (e.g., "500ms")
Optional minimum height (e.g., "50px")
https://alpinejs.dev/plugins/collapse