# SiDashboardService documentation

**Kind:** class

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

```
undecorated_class SiDashboardService
```

#### Attributes and Methods

##### cards$

[Source for cards$](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.service.ts#L18-L18>)

**Modifiers:** readonly

**Type:** `Observable<SiDashboardCardComponent[]>`

**Default:** `this.cards.asObservable()`

Subject containing the current dashboard cards as a list.

##### register

[Source for register](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.service.ts#L23-L27>)

Registers a new dashboard card.

```
register(card: SiDashboardCardComponent): void
```

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [card](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.service.ts#L23-L23>) | `SiDashboardCardComponent` |  |  |

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

##### unregister

[Source for unregister](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.service.ts#L32-L39>)

Removes a registered dashboard card.

```
unregister(card: SiDashboardCardComponent): void
```

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [card](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard.service.ts#L32-L32>) | `SiDashboardCardComponent` |  |  |

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