The Divider component for Retool Mobile
A horizontal line to separate content.
Properties
All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
hidden
Whether this object is hidden from view.
Type | boolean | ||||||
Format | True/False | ||||||
Mutability |
| ||||||
Default |
|
Examples
true
Methods
JavaScript API methods for this object. You can write JavaScript almost anywhere in Retool and use methods to manipulate data and property values.
divider.setHidden()
Set the hidden
value to toggle whether the component is visible. Defaults to true
without a parameter.
Definition
divider.setHidden(hidden)
Parameters
hidden
boolean
Whether this object is hidden from view.
Examples
Hide divider
.
divider.setHidden(true);
Unhide divider
.
divider.setHidden(false);