SiDashboardComponent documentation¶
import { SiDashboardComponent } from '@siemens/element-ng/dashboard'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| enableExpandInteractions ¶ | boolean | false | Opt-in to enable expand interaction for all cards. |
| heading ¶ | TranslatableString | undefined | Heading for the dashboard page. To show a custom header instead, e.g. with a description or page actions, project it using the | |
| hideMenubar ¶ | boolean | false | Option to hide the menu bar. |
| sticky ¶ | boolean | true | Option to turn off the sticky behavior of the heading and menu bar. |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| expand() ¶ | (card: SiDashboardCardComponent) => void | Expands the provided card to full size in the dashboard. Parameters
| |
| (readonly)isExpanded ¶ | boolean | false | Is |
| restore() ¶ | () => void | Restores the expanded card to it's previous position. |
Types Documentation¶
Represents a translatable string. This can either be a translation key, e.g. import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.
Except where otherwise noted, content on this site is licensed under MIT License.