@eodash/eodash / Configuration / Widget
Type Alias: Widget
Widgets can be defined in 2 forms:
- StaticWidget : This is defined as an object once, and is considered the default form.
- FunctionalWidget : a special form which contains the `defineWidget` function that runs when `loadSelectedSTAC` function is triggered, and returns a value of a Static Widget or null or undefined.
ts
type Widget = StaticWidget | FunctionalWidget;