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

61 lines
1.8 KiB
Markdown
Raw Normal View History

---
id: divider
title: Divider
---
# Divider
**Divider** widget is used to add separator between components.
<div style={{paddingTop:'24px', paddingBottom:'24px'}}>
## Component Specific Actions (CSA)
There are currently no CSA (Component-Specific Actions) implemented to regulate or control the component.
</div>
<div style={{paddingTop:'24px', paddingBottom:'24px'}}>
## Exposed variables
There are currently no exposed variables for the component.
</div>
<div style={{paddingTop:'24px', paddingBottom:'24px'}}>
## 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>
<div style={{paddingTop:'24px', paddingBottom:'24px'}}>
## Layout
| <div style={{ width:"135px"}}> Layout </div> | <div style={{ width:"100px"}}> Description </div> |
|:----------- |:----------- |
| 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. |
</div>
<div style={{paddingTop:'24px', paddingBottom:'24px'}}>
## Styles
| <div style={{ width:"100px"}}> Style </div> | <div style={{ width:"100px"}}> Description </div> |
| ----------- | ----------- |
| 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**.
:::
</div>