Divider
A dividing line to separate content. It supports optional text to render within the line.
Properties
Available properties for Divider with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.
Whether the component is visible.
The horizontal alignment of the contents.
Whether the component takes up space on the canvas if hidden
is true
.
The amount of margin to render outside of the component.
Whether the component remains visible in the editor if hidden
is true
.
The primary text content.
The text size.
The text to display in a tooltip on hover or focus.
Methods
Methods for interacting with Divider. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.
Scrolls the canvas or parent container so that the selected component appears in the visible area.
Set the hidden
value to toggle whether the component is visible. Defaults to true
without a parameter.