Skip to content

@eodash/eodash / client/types / SingleTemplate

Interface: SingleTemplate<T>

Defined in: client/types.ts:173

Dashboard rendered widgets specification. 3 types of widgets are supported: "iframe", "internal", and "web-component". A specific object should be provided based on the type of the widget.

Type Parameters

T extends ExecutionTime = "compiletime"

Properties

background?

optional background: BackgroundWidget<T>

Defined in: client/types.ts:182

Widget rendered as the dashboard background. Has the same specifications of Widget without the title and layout properties


gap?

optional gap: number

Defined in: client/types.ts:175

Gap between widgets


loading?

optional loading: BackgroundWidget<T>

Defined in: client/types.ts:177

Loading widget


widgets

widgets: Widget<T>[]

Defined in: client/types.ts:184

Array of widgets that will be rendered as dashboard panels.