@eodash/eodash / client/types / Widget
Type Alias: Widget<T>
Widget<
T
>:StaticWidget
<T
> |FunctionalWidget
<T
>
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 whenloadSelectedSTAC
function is triggered, and returns a value of a Static Widget or null or undefined.
Type Parameters
• T extends ExecutionTime
= "compiletime"