Skip to content

@eodash/eodash / client/types / Widget

Type Alias: Widget<T>

Widget<T>: StaticWidget<T> | FunctionalWidget<T>

Widgets can be defined in 2 forms:

  1. StaticWidget : This is defined as an object once, and is considered the default form.
  2. 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.

Type Parameters

T extends ExecutionTime = "compiletime"

Defined in

core/client/types.d.ts:156