Collapse/expand marker in Content
Below is a sample appearance on the application using the Collapse/Expand tag in Content:

When creating Content you should prepare an artifact of type HTML. Sample code:
The fragment responsible for the expander is:
The /more/ tag is responsible for dividing the Content into collapsed and expanded parts — everything before /more/ is the content visible by default, and everything after /more/ is the expanded part.
The alignment of the button to the right depends on the styles defined inside the Content (the example uses the following style in the Content):
Important to:
place the button in the visible part of the Content;
ensure elements have the appropriate classes: toggleWrapper, unfold, fold, toggle-icon;
preserve the button structure.
Last updated
Was this helpful?
