Skip to content

WidgetComponentOptions

Defined in: layout/types.ts:300

Options for layout components.

optional widget?: WidgetType

Defined in: layout/types.ts:302

Type of the widget to use.

\n
    \n
  • custom: Custom widget
  • \n
  • donut: Donut chart
  • \n
  • history: History chart
  • \n
  • kanban: Kanban board
  • \n
  • permissions: Permissions widget
  • \n
  • scan: Scan widget
  • \n
  • bar: Bar chart
  • \n
  • column: Column chart
  • \n
  • line: Line chart
  • \n
  • progress: Progress widget
  • \n
  • radar: Radar chart
  • \n

optional dynamic_height?: boolean

Defined in: layout/types.ts:303


optional hidden_from_frontend?: boolean

Defined in: layout/types.ts:120

ComponentOptions.hidden_from_frontend


optional show_in?: DefinedModuleAction[]

Defined in: layout/types.ts:121

ComponentOptions.show_in


optional recipes?: LayoutElementRecipes | { widget?: string; dynamic_height?: string; hidden_from_frontend?: string; show_in?: string; recipes?: string; }

Defined in: layout/types.ts:122

LayoutElementRecipes


{ widget?: string; dynamic_height?: string; hidden_from_frontend?: string; show_in?: string; recipes?: string; }

optional widget?: string

Type of the widget to use.

\n
    \n
  • custom: Custom widget
  • \n
  • donut: Donut chart
  • \n
  • history: History chart
  • \n
  • kanban: Kanban board
  • \n
  • permissions: Permissions widget
  • \n
  • scan: Scan widget
  • \n
  • bar: Bar chart
  • \n
  • column: Column chart
  • \n
  • line: Line chart
  • \n
  • progress: Progress widget
  • \n
  • radar: Radar chart
  • \n

optional dynamic_height?: string

optional hidden_from_frontend?: string

optional show_in?: string

optional recipes?: string

ComponentOptions.recipes