📝 Adds docs about global widget UI options

This commit is contained in:
Alicia Sykes 2021-12-26 00:31:46 +00:00
parent 6fe13d13e5
commit 6c0fb6fd41
1 changed files with 13 additions and 0 deletions

View File

@ -42,6 +42,7 @@ Dashy has support for displaying dynamic content in the form of widgets. There a
- [Widget Usage Guide](#widget-usage-guide)
- [Continuous Updates](#continuous-updates)
- [Custom CSS Styling](#widget-styling)
- [Widget UI Options](#widget-ui-options)
- [Building a Widget](#build-your-own-widget)
## General Widgets
@ -924,6 +925,18 @@ For more info on how to apply custom variables, see the [Theming Docs](/docs/the
---
### Widget UI Options
Widgets can be opened in full-page view, by clicking the Arrow icon (top-right). The URL in your address bar will also update, and visiting that web address will take you straight to the selected widget.
You can reload the data of any widget, by clicking the Refresh Data icon (also in top-right). This will only affect the widget where the action was triggered from.
All [config options](/docs/configuring.md#section) that can be applied to sections, can also be applied to widget sections. For example, to make a widget span multiple columns, set `displayData.cols: 2` within the parent section. You can collapse a widget (by clicking the section title), and collapse state will be saved locally.
Widgets cannot currently be edited through the UI. This feature is in development, and will be released soon. In the meantime, you can either use the JSON config editor, or use VS Code or SSH into your box to edit the conf.yml file directly.
---
### Build your own Widget
Widgets are built in a modular fashion, making it easy for anyone to create their own custom components.