Collapse/expand marker in Content

circle-info

The availability of functionality depends on the license and may not be available in all deployments.

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

Illustration 1. Appearance of Content on the application with the Collapse/Expand tag

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.

circle-info

Demo request: demoTextContent

Last updated

Was this helpful?