mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
[docs] created spinner documentation (#2758)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
This commit is contained in:
parent
ea09f81db3
commit
b1a7ac8cbf
2 changed files with 34 additions and 0 deletions
34
docs/docs/widgets/spinner.md
Normal file
34
docs/docs/widgets/spinner.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Spinner
|
||||
|
||||
Spinner widget can be used to provide a visual indication that an action is in progress by awaiting a change.
|
||||
|
||||
<div style={{textAlign: 'center'}}>
|
||||
|
||||

|
||||
|
||||
</div>
|
||||
|
||||
|
||||
## Layout
|
||||
|
||||
### Show on desktop
|
||||
|
||||
Toggle on or off to display the widget in desktop view. You can programmatically determing the value by clicking on `Fx` to set the value `{{true}}` or `{{false}}`.
|
||||
### Show on mobile
|
||||
|
||||
Toggle on or off to display the widget in mobile view. You can programmatically determing the value by clicking on `Fx` to set the value `{{true}}` or `{{false}}`.
|
||||
|
||||
## Styles
|
||||
|
||||
|
||||
### Visibility
|
||||
|
||||
Toggle on or off to control the visibility of the widget. You can programmatically change its value by clicking on the `Fx` button next to it. If `{{false}}` the widget will not be visible after the app is deployed. By default, it's set to `{{true}}`.
|
||||
|
||||
### Color
|
||||
|
||||
Change the color of the Spinner by entering the `Hex color code` or choosing a color of your choice from the color-picker.
|
||||
|
||||
### Size
|
||||
|
||||
Change the size of the Spinner by selecting options from the dropdown. It has small and large sizes available.
|
||||
BIN
docs/static/img/widgets/spinner/spinner.png
vendored
Normal file
BIN
docs/static/img/widgets/spinner/spinner.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 195 KiB |
Loading…
Reference in a new issue