Components
expander
4min
The expander is a collapsible component with a small amount of content initially visible, such as a name, and additional content will be visible after it is opened. An expander is expanded by clicking on the arrow that will appear on the right side of the component.
Expander Preview
Core structure | |
---|---|
children | Define the content of the expander. The following components can be used in the expander: |
header |
Other options | |
---|---|
isInitiallyCollapsed | false - expander is not collapsed. true - If the expander is initially collapsed. True is the default setting. |
leftElement | Add a left element, for example, an ordering number or avatar. |
Actions | |
---|---|
onContentPress | Action triggered while pressing on the content in the expander. Use IntelliSense (ctrl+space) to see the available list of actions. |