# SiDashboardComponent documentation

**Kind:** component

**Selector:** `si-dashboard`

```
import { SiDashboardComponent } from '@siemens/element-ng/dashboard';
```

```
component SiDashboardComponent implements OnChanges, AfterViewInit
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [enableExpandInteractions](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.component.ts#L64-L64>) | `boolean` | `false` | Opt-in to enable expand interaction for all cards. |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.component.ts#L57-L57>) | `TranslatableString \| undefined` |  | Heading for the dashboard page.<br><br>To show a custom header instead, e.g. with a description or page actions, project it using the `header` attribute. The heading is ignored in that case. |
| [hideMenubar](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.component.ts#L78-L78>) | `boolean` | `false` | Option to hide the menu bar. |
| [sticky](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.component.ts#L71-L71>) | `boolean` | `true` | Option to turn off the sticky behavior of the heading and menu bar. |

#### Attributes and Methods

##### expand

[Source for expand](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.component.ts#L174-L199>)

Expands the provided card to full size in the dashboard.

```
expand(card: SiDashboardCardComponent): void
```

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [card](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.component.ts#L174-L174>) | `SiDashboardCardComponent` |  | • The card to be expanded. |

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

##### isExpanded

[Source for isExpanded](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.component.ts#L85-L87>)

**Modifiers:** readonly

**Type:** `boolean`

**Default:** `false`

Is `true` if a card is expanded.

##### restore

[Source for restore](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.component.ts#L204-L214>)

Restores the expanded card to it's previous position.

```
restore(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

### Types Documentation

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `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.

```
type TranslatableString = string & Translatable
```
