Join the Webstudio community

S
Sruly
Offline, last seen 4 weeks ago
Joined December 13, 2024
I want to make an accordion that is dynamically taking in data, but where the contents can contain other accordions, with dynamic depth. Is this possible? Or would I manually need to create what would be the max depth of the accordions.
2 comments
O
J
To clarify, not when the header is clicked, but when the content itself is clicked.
14 comments
J
S
Is there a way to make a page that can accept any amount of parameters in the path and create an array? So for example if it's example.com/:slug and the url entered is example.com/data/data2, slug[0] would equal data and slug[1] would equal data2
6 comments
O
S