Skip to content

@eodash/eodash / client/types / FunctionalWidget

Interface: FunctionalWidget<T>

Type Parameters

T extends ExecutionTime = "compiletime"

Properties

defineWidget()

defineWidget: (selectedSTAC) => undefined | null | StaticWidget<T>

Provides a functional definition of widgets, gets triggered whenever a STAC object is selected, and only renders the returned configuration if the id doesn't match the currently rendered id

Parameters

selectedSTAC: null | StacCatalog | StacCollection | StacItem

Currently selected STAC object

Returns

undefined | null | StaticWidget<T>

Defined in

core/client/types.d.ts:127