The Collapsible Container component for Retool Mobile
A container to group other components.
Settings
Collapsible Container includes the following configurable options when building apps in the IDE.
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.
Values
left | Left alignment. |
center | Center alignment. |
right | Right alignment. |
collapsedIcon
The icon that's displayed when collapsed.
collapsible
Whether collapsible add-ons are configured.
cornerType
The corner style to use.
Values
square | Square corners. |
round | Rounded corners. |
Values
none | No elevated style. |
raised | Raised elevated style. |
Properties
event
The event type.
Values
change | A user changes the value. |
click | A user clicks or taps the component. |
submit | A user submits the value. |
focus | A user selects the input field. |
blur | A user deselects the input field. |
scan | A user scans a barcode. |
open | A user opens the component. |
close | A user closes the component. |
true | A user sets the value to |
false | A user sets the value to |
select | A user selects a value. |
clear | A user clears the value. |
upload | A user uploads a file. |
parse | An uploaded file is parsed. |
inputValueChange | A user changes the value of the input field. |
method
The JavaScript method to perform when type
is datasource
, widget
, state
, or localStorage
.
expandedIcon
The icon that's displayed when expanded.
id
The unique identifier.
isHiddenOnDesktop
Whether the component is visible in the desktop layout.