File

core/dashboard/dashboard.model.ts

Description

A widget is a child on a dashboard which can be added and configured by the user. A widget can be defined by the [[DynamicComponentDefinition]] by any module of an application. Thew widget itself stores beside it's link (componentId) to the DynamicComponentDefinition the information about the title, layout (classes) and the configuration.

Extends

LegacyWidget

Index

Properties

Properties

_height
_height: number
Type : number
Optional

height dimension parameters

_width
_width: number
Type : number
Optional

width dimension parameters

_x
_x: number
Type : number
Optional

x dimension parameters

_y
_y: number
Type : number
Optional

y dimension parameters

classes
classes: Record<string | boolean>
Type : Record<string | boolean>
Optional

Which classes should be added.

componentId
componentId: string
Type : string

The unique component id to find the component in the HOOK_COMPONENTS dynamic-component implementation.

config
config: any
Type : any

The current configuration of the widget.

id
id: string
Type : string

A random key for saving it to the object.

title
title: string
Type : string
Optional

The current title of the widget.

results matching ""

    No results matching ""