The Collapsible Container component for Retool Apps
A container to group other components with a preconfigured collapsible body area.
Collapsible Container is a preset version of Container. It has been preconfigured with a collapsible body and Toggle Button component.
Settings
Collapsible Container includes the following configurable options when building apps in the IDE.
Show on desktopShow on mobileMaintain space when hiddenMarginAlways show in edit modeStyles |
Properties
All properties for Collapsible Container with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
clickable
boolean
Whether there is an enabled Click event handler.
currentViewIndex
number
The index of the selected view.
currentViewKey
string
The key value
of the selected view.