Skip to content

Commit

Permalink
content: usage: advanced: initial DIY Widget info
Browse files Browse the repository at this point in the history
  • Loading branch information
ES-Alexander committed Jan 21, 2025
1 parent f689f23 commit 1e7a9e1
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions content/usage/advanced/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -634,12 +634,21 @@ characteristics:
{{ easy_image(src="plotter-config", width=400, center=true) }}

{% note() %}
The data lake which the widget gets its data from by default only provides access to the Cockpit memory
usage, and values added from [Custom Actions](#custom-actions). It will soon be connected to the
MAVLink message fields as well, and other options available to
[Very Generic Indicators](#very-generic-indicators).
The data lake which the widget gets its data from by default provides access to the Cockpit memory
usage, MAVLink message fields, and values added from [Custom Actions](#custom-actions). It will soon be
connected to the BlueOS-specific options available to
[Very Generic Indicators](#very-generic-indicators) as well.
{% end %}

#### Do It Yourself Widget

- Completely custom elements, code logic, and styling
{{ easy_image(src="diy-widget-config", width=550, center=true) }}
- Runs code automatically when Cockpit starts/refreshes
- Unlike [Custom Actions](#custom-actions), which need to be triggered to run
- Can listen to, create, and modify data lake variables, and register and/or execute Actions using the
Cockpit API (`window.cockpit.*`)

#### Container Widgets

Regular widgets for storing [mini widgets](#widgets) and [input widgets](#input-widgets) in the main
Expand Down

0 comments on commit 1e7a9e1

Please sign in to comment.