Skip to content

CustomWidgetOptions

Defined in: layout/types.ts:338

Options for layout components.

widget: "custom"

Defined in: layout/types.ts:339

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

WidgetComponentOptions.widget


optional component?: string

Defined in: layout/types.ts:341

Name of a Vue component to use for the widget, if "custom" is selected.


optional view?: string

Defined in: layout/types.ts:343

Name of a view entity to use for the widget, if "custom" is selected.


optional dynamic_height?: boolean

Defined in: layout/types.ts:303

WidgetComponentOptions.dynamic_height


optional hidden_from_frontend?: boolean

Defined in: layout/types.ts:120

WidgetComponentOptions.hidden_from_frontend


optional show_in?: DefinedModuleAction[]

Defined in: layout/types.ts:121

WidgetComponentOptions.show_in


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

Defined in: layout/types.ts:122

LayoutElementRecipes


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

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 component?: string

Name of a Vue component to use for the widget, if "custom" is selected.

optional view?: string

Name of a view entity to use for the widget, if "custom" is selected.

optional dynamic_height?: string

optional hidden_from_frontend?: string

optional show_in?: string

optional recipes?: string

WidgetComponentOptions.recipes