@eodash/eodash / client/types / FunctionalWidget
Interface: FunctionalWidget<T>
Defined in: client/types.ts:119
Type Parameters
• T extends ExecutionTime
= "compiletime"
Properties
defineWidget()
defineWidget: (
selectedSTAC
) =>undefined
|null
|StaticWidget
<T
>
Defined in: client/types.ts:127
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
Currently selected STAC object
null
| StacCatalog
| StacCollection
| StacItem
Returns
undefined
| null
| StaticWidget
<T
>