Hi Editor X Community.
I am new to EX, and this is my first post so apologies in advance if this question has already been addressed. My scenario is this:
I am creating an FAQ page with questions and corresponding answers.
I want the answer to be hidden until the user clicks a symbol for example a '+' sign or a 'down arrow' symbol to reveal the answer then click the reveal symbol again to hide the answer or leave it revealed if that's what the user wants.
What functionality in EX can achieve this requirement?
Thank you.
Sunil
You need to use Velo for this.
Basically need to create a container with a grid of 2 rows.
The first row will contain the button and the second row will contain the answer - its height should be max-content.
The element of the answer should be set to collapse on load so answer will be hidden and the row height will be zero.
<