ToolJet/docs/versioned_docs/version-2.1.0/widgets/divider.md

56 lines
1.8 KiB
Markdown
Raw Normal View History

2022-12-09 10:19:55 +00:00
---
id: divider
title: Divider
---
# Divider
Divider widget is used to add separator between components.
<div style={{textAlign: 'center'}}>
<img className="screenshot-full" src="/img/widgets/divider/divider.png" alt="ToolJet - Widget Reference - Divider" />
</div>
## General
### Tooltip
A Tooltip is often used to specify extra information about something when the user hovers the mouse pointer over the widget.
Under the <b>General</b> accordion, you can set the value in the string format. Now hovering over the widget will display the string as the tooltip.
<div style={{textAlign: 'center'}}>
<img className="screenshot-full" src="/img/tooltip.png" alt="ToolJet - Widget Reference - Divider" />
</div>
## Layout
<div style={{textAlign: 'center'}}>
<img className="screenshot-full" src="/img/widgets/divider/layout1.png" alt="ToolJet - Widget Reference - Divider" />
</div>
| properties | description |
| ----------- | ----------- |
| Show on Desktop | This property have toggle switch. If enabled, the divider will display in the desktop view else it will not appear. |
| Show on Mobile | This property have toggle switch. If enabled, the divider will display in the mobile view else it will not appear. |
## Styles
<div style={{textAlign: 'center'}}>
<img className="screenshot-full" src="/img/widgets/divider/styles1.png" alt="ToolJet - Widget Reference - Divider" />
</div>
| properties | description |
| ----------- | ----------- |
| Divider Color | It is used to set the color of the divider. Use hex code to set the background color. |
| Visibility | This property is used to set the visibility of the divider. The property accepts Boolean value. |
:::info
Any property having `Fx` button next to its field can be **programmatically configured**.
:::