Skip to main content

Divider

The Divider widget is used to visually separate or compartmentalise different parts of your application.

How to use Divider Widget

Properties

Properties allow you to edit the widget, connect it with other widgets and customize the user actions.

Widget Properties

These properties allow you to edit the Divider widget. All of these properties are present in the property pane of the widget. The following table lists all the widget properties.

PropertyDescription
OrientationSets whether the line of the widget is oriented horizontally or vertically. With JS enabled, accepted values are "horizontal" or "vertical".
VisibleControls widget's visibility on the page. When turned off: The widget will not be visible when the app is published. It appears translucent when in Edit mode.
Animate LoadingWhen turned off, the widget will load without any skeletal animation. You can use a toggle switch to turn it on/off. You can also turn it off/on using javascript by enabling the JS label next to it.

Binding Properties

These properties allow you to bind your Divider widget with any other widget in queries or JS objects. The following table lists all the binding properties.

PropertyDescription
capSideReflects the widget's Cap Position style property, shows which sides of the divider line have a cap. Values are numbers, either -1 (left or top only), 0 (both sides), or 1 (right or bottom only).
capTypeReflects the widget's Cap style property, shows whether the divider line is capped with a dot, an arrow, or no cap. Values are strings "dot", "arrow", or "nc".
dividerColorContains the color of the divider line, represented as a hexadecimal color code.
isVisibleReflects the state of the widget's Visible setting (bool).
orientationReflects the Orientation property of the widget, values are strings either "horizontal" or "vertical".
strokeStyleReflects the widget's Dash Style property as a string with value either "solid", "dashed", or "dotted".
thicknessReflects the thickness of the divider line as a number of pixels.

Style

Style properties allow you to change the look and feel of the widget.

Style PropertyDescription
Dash StyleSets the type of line used for the divider, either Solid, Dashed, or Dotted. With JS enabled, accepts strings with value "solid", "dashed", or "dotted".
ThicknessSets the thickness of the divider line in pixels. Accepts number values.
Divider ColorSets the color of the divider line. Accepts valid CSS colorvalues.
CapSets the type of cap to use on the divider line; none, arrows, or dots. With JS enabled, accepts strings with value "nc", "arrow", or "dot".
Cap PositionSets which sides of the divider line have caps. With JS enabled, accepts number values -1 (left/top), 0 (both), or 1 (right/bottom).