# SiDashboardCardComponent documentation

**Kind:** component

**Selector:** `si-dashboard-card`

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

```
component SiDashboardCardComponent extends SiCardComponent implements OnDestroy
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [actionBarTitle](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L53-L53>) (inherited) | `TranslatableString` | `''` | Optional setting of html title attribute for the content action bar. Helpful for a11y when only one action is configured in expand mode.<br><br>Inherited from [SiCardComponent](<../SiCardComponent/index.html#SiCardComponent>) |
| [actionBarViewType](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L46-L46>) (inherited) | `ViewType` | `'collapsible'` | The view type of the content action bar of the card. Default is `collapsible` for dashboards. However, in some cases you might need to change to `expanded` or `mobile`.<br><br>Inherited from [SiCardComponent](<../SiCardComponent/index.html#SiCardComponent>) |
| [actionParam](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L38-L38>) (inherited) | `any` |  | A param that will be passed to the `action` in the primary/secondary actions. This allows to re-use the same primary/secondary action arrays across rows in a table.<br><br>Inherited from [SiCardComponent](<../SiCardComponent/index.html#SiCardComponent>) |
| [enableExpandInteraction](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard-card.component.ts#L64-L64>) | `boolean` | `false` | Option to enable and show the UI controls for card expand functionality. `Expand` and `restore` action items will be added to the content action bar. The expand resizing has to be implemented by the container of the card. |
| [expandText](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard-card.component.ts#L56-L56>) | `TranslatableString` | `` $localize`:@@SI_DASHBOARD.EXPAND:Expand` `` | Description of expand button &amp; action. |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L20-L20>) (inherited) | `TranslatableString \| undefined` |  | Card header text.<br><br>Inherited from `SiCardBaseDirective` |
| [imgAlt](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L32-L32>) (inherited) | `TranslatableString \| undefined` |  | Alt text for a provided image.<br><br>Inherited from `SiCardBaseDirective` |
| [imgDir](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L38-L38>) (inherited) | `"horizontal" \| "vertical" \| undefined` | `'vertical'` | Defines if an image is placed on top or start (left) of the card.<br><br>Inherited from `SiCardBaseDirective` |
| [imgObjectFit](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L44-L46>) (inherited) | `"fill" \| "contain" \| "cover" \| "none" \| "scale-down" \| undefined` | `'scale-down'` | Sets the image [object-fit](<https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit>) CSS property.<br><br>Inherited from `SiCardBaseDirective` |
| [imgObjectPosition](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L50-L50>) (inherited) | `string \| undefined` |  | Sets the image [object-position](<https://developer.mozilla.org/en-US/docs/Web/CSS/object-position>) CSS property.<br><br>Inherited from `SiCardBaseDirective` |
| [imgSrc](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L28-L28>) (inherited) | `string \| undefined` |  | Image source for the card.<br><br>Inherited from `SiCardBaseDirective` |
| [primaryActions](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L26-L26>) (inherited) | `(MenuItem \| ContentActionBarMainItem)[]` | `[]` | Input list of primary action items. Supports up to **4** actions and omits additional ones.<br><br>Inherited from [SiCardComponent](<../SiCardComponent/index.html#SiCardComponent>) |
| [restoreText](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard-card.component.ts#L47-L47>) | `TranslatableString` | `` $localize`:@@SI_DASHBOARD.RESTORE:Restore` `` | Description of cancel button &amp; action. |
| [secondaryActions](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card.component.ts#L32-L32>) (inherited) | `(MenuItem \| MenuItem)[]` | `[]` | Input list of secondary action items.<br><br>Inherited from [SiCardComponent](<../SiCardComponent/index.html#SiCardComponent>) |
| [showMenubar](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard-card.component.ts#L71-L71>) | `boolean` | `true` | Used in combination with si-dashboard to show filters when a card is expanded or not. |
| [subHeading](<https://github.com/siemens/element/blob/main/projects/element-ng/card/si-card-base.directive.ts#L24-L24>) (inherited) | `TranslatableString \| undefined` |  | Card secondary header text.<br><br>Inherited from `SiCardBaseDirective` |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [expandChange](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard-card.component.ts#L75-L75>) | `boolean` | Emitter for size state change |

#### Attributes and Methods

##### displayContentActionBar

[Source for displayContentActionBar](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/si-dashboard-card.component.ts#L93-L95>)

**Modifiers:** readonly

**Type:** `Signal<boolean>`

**Default:** `...`

Returns `true` when primary or secondary actions are set.

Inherited from [SiCardComponent](<../SiCardComponent/index.html#SiCardComponent>)

##### enableExpandInteractionComputed

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

**Modifiers:** readonly

**Type:** `Signal<boolean>`

**Default:** `...`

##### expand

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

Expand the dashboard card.

```
expand(): void
```

**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-card.component.ts#L82-L82>)

**Modifiers:** readonly

**Type:** `WritableSignal<boolean>`

**Default:** `false`

Whether the card is currently expanded.

##### restore

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

Restore the dashboard card to the original, non-expanded state.

```
restore(): void
```

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

### Types Documentation

### [ContentActionBarMainItem](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.model.ts#L15-L17>)

**Kind:** type alias

```
import type { ContentActionBarMainItem } from '@siemens/element-ng/content-action-bar';
```

```
type ContentActionBarMainItem = (
  MenuItemAction | MenuItemCheckbox | MenuItemLink | MenuItemRouterLink | MenuItemGroup
) & { iconOnly?: boolean }
```

### [MenuItem](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L19-L85>)

**Kind:** interface

```
import type { MenuItem } from '@siemens/element-ng/common';
```

The MenuItem is used to configure clickable items in menus. They support a name, link, icons and sub-menu items.

Deprecated: This interface should no longer be used. Use a corresponding alternative based on your use case:

• for [SiMenuFactoryComponent](<../SiMenuFactoryComponent/index.html#SiMenuFactoryComponent>) use [@siemens/element-ng/menu\#MenuItem](<index.html#t:MenuItem--2>)

• for [SiContentActionBarComponent](<../SiContentActionBarComponent/index.html#SiContentActionBarComponent>) use [@siemens/element-ng/menu\#MenuItem](<index.html#t:MenuItem--2>) and [ContentActionBarMainItem](<index.html#t:ContentActionBarMainItem>)

• for [SiNavbarVerticalComponent](<../SiNavbarVerticalComponent/index.html#SiNavbarVerticalComponent>) use [NavbarVerticalItem](<../../types/NavbarVerticalItem/index.html#t:NavbarVerticalItem>)

• for [@siemens/dashboards-ng\#SiFlexibleDashboardComponent](<../../../dashboards-ng/components/SiFlexibleDashboardComponent/index.html#SiFlexibleDashboardComponent>) use [@siemens/dashboards-ng\#DashboardToolbarItem](<../../../dashboards-ng/types/DashboardToolbarItem/index.html#t:DashboardToolbarItem>)

```
interface MenuItem extends Link
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L42-L42>) (optional, inherited) | `string \| ((param?: any) => void \| any)` | A function that will be invoked when clicking on the menu item. When passed as a string, use together with SiLinkActionService to receive events. This is meant for repetitive things in lists/tables/etc.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L56-L56>) (optional) | `string \| number` | Defines the content of the optional badge. Should be a number or something like "100+". if undefined or empty string, no badge is displayed |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L60-L60>) (optional) | `string` | Defines the background color of the badge. Default is specific to Element flavour. |
| [badgeDot](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L68-L68>) (optional) | `boolean` | Show a dot badge without content? |
| [badgeStyle](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L64-L64>) (optional) | `"" \| "inline" \| "dot"` | Defines the badge style |
| [customContent](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L51-L51>) (optional) | `boolean` | Defines if custom content is chosen in account dropdown (otherwise accountItems are used) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L50-L50>) (optional, inherited) | `boolean` | A boolean that lets the link know whether it is disabled or not.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [dropUpwards](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L84-L84>) (optional) | `boolean` | Whether the menu items sub-menu should open upwards instead of downwards. |
| [expanded](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L42-L42>) (optional) | `boolean` | If the menu item has children you can specify if they are visible or not. |
| [href](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L22-L22>) (optional, inherited) | `string` | Defines a href URI that the menu item will be linked to. Will be used to set the href attribute of the a element. Will only be used if link and function is not set.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L27-L27>) (optional) | `string` | The web font icon class name (e.g. element-settings-outline). |
| [iconOnly](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L46-L46>) (optional) | `boolean` | Defines if only the icon is shown in the default navigation bar. |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L23-L23>) (optional) | `string` | An optional id to uniquely identify the menu item. |
| [image](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L32-L32>) (optional) | `string` | The value for an image src tag. Maybe a relative or absolute link to an jpg or gif image. |
| [isActive](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L46-L46>) (optional, inherited) | `boolean` | A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [isHeading](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L80-L80>) (optional) | `boolean` | Whether the menu item should be displayed as a heading/title, will also disable links and actions. |
| [items](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L37-L37>) (optional) | `MenuItem[]` | A navigation bar item can have a sub-menu, if these items are set. They define the sub-menu content. |
| [link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L32-L32>) (optional, inherited) | `string \| any[]` | Defines the link of the menu item within the application using the angular router link concept. Accepts an array of `any` as per \[routerLink API definition\][https://angular.dev/api/router/RouterLink](<https://angular.dev/api/router/RouterLink>).<br><br>Inherited from [Link](<index.html#t:Link>) |
| [navigationExtras](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L36-L36>) (optional, inherited) | `NavigationExtras` | The navigation extras provide additional routing options when using the router link.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [selectionState](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L72-L72>) (optional) | `"" \| "check" \| "radio"` | For single/multi choice items: the kind of icon to show. |
| [target](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L27-L27>) (optional, inherited) | `string` | The target attribute specifies where to open the linked document. If no target is specified, the link will open in the current tab.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [title](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L12-L12>) (optional, inherited) | `TranslatableString` | The title of the menu item. Can be either the title to be displayed or the translation key.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [tooltip](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L17-L17>) (optional, inherited) | `TranslatableString` | The optional tooltip of the link. Can be either the text to be displayed or the translation key.<br><br>Inherited from [Link](<index.html#t:Link>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/menu.model.ts#L76-L76>) (optional) | `"check" \| "radio"` | Type to distinguish between check and radio menu items. Needs to be set for correct interaction and used for a11y. |

### [MenuItem](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L102-L111>)

**Kind:** type alias

```
import type { MenuItem } from '@siemens/element-ng/menu';
```

```
type MenuItem = | MenuItemGroup
  | MenuItemAction
  | MenuItemRouterLink
  | MenuItemLink
  | MenuItemRadioGroup
  | MenuItemCheckbox
  | MenuItemRadio
  | MenuItemHeader
  | MenuDivider
```

### [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
```

### [ViewType](<https://github.com/siemens/element/blob/main/projects/element-ng/content-action-bar/si-content-action-bar.model.ts#L13-L13>)

**Kind:** type alias

```
import type { ViewType } from '@siemens/element-ng/content-action-bar';
```

```
type ViewType = 'collapsible' | 'expanded' | 'mobile'
```

### [Link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L8-L51>)

**Kind:** interface

```
import type { Link } from '@siemens/element-ng/link';
```

```
interface Link
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L42-L42>) (optional) | `string \| ((param?: any) => void \| any)` | A function that will be invoked when clicking on the menu item. When passed as a string, use together with SiLinkActionService to receive events. This is meant for repetitive things in lists/tables/etc. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L50-L50>) (optional) | `boolean` | A boolean that lets the link know whether it is disabled or not. |
| [href](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L22-L22>) (optional) | `string` | Defines a href URI that the menu item will be linked to. Will be used to set the href attribute of the a element. Will only be used if link and function is not set. |
| [isActive](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L46-L46>) (optional) | `boolean` | A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route. |
| [link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L32-L32>) (optional) | `string \| any[]` | Defines the link of the menu item within the application using the angular router link concept. Accepts an array of `any` as per \[routerLink API definition\][https://angular.dev/api/router/RouterLink](<https://angular.dev/api/router/RouterLink>). |
| [navigationExtras](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L36-L36>) (optional) | `NavigationExtras` | The navigation extras provide additional routing options when using the router link. |
| [target](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L27-L27>) (optional) | `string` | The target attribute specifies where to open the linked document. If no target is specified, the link will open in the current tab. |
| [title](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L12-L12>) (optional) | `TranslatableString` | The title of the menu item. Can be either the title to be displayed or the translation key. |
| [tooltip](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L17-L17>) (optional) | `TranslatableString` | The optional tooltip of the link. Can be either the text to be displayed or the translation key. |

### [MenuItemAction](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L34-L41>)

**Kind:** interface

```
import type { MenuItemAction } from '@siemens/element-ng/menu';
```

```
interface MenuItemAction extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L40-L40>) | `string \| ((actionParam: any, source: MenuItemAction) => void)` | Action that called when the item is triggered. A function will be called, a string will be dispatched to the [SiMenuActionService](<../../types/SiMenuActionService/index.html#t:SiMenuActionService>). |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L35-L35>) | `"action"` |  |

### [MenuItemCheckbox](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L81-L90>)

**Kind:** interface

```
import type { MenuItemCheckbox } from '@siemens/element-ng/menu';
```

```
interface MenuItemCheckbox extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L89-L89>) | `string \| ((actionParam: any, source: MenuItemCheckbox) => void)` | Action that called when the item is triggered. A function will be called, a string will be dispatched to the [SiMenuActionService](<../../types/SiMenuActionService/index.html#t:SiMenuActionService>). |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [checked](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L84-L84>) | `boolean` | Whether the checkbox is checked. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L82-L82>) | `"checkbox"` |  |

### [MenuItemLink](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L56-L62>)

**Kind:** interface

```
import type { MenuItemLink } from '@siemens/element-ng/menu';
```

```
interface MenuItemLink extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [href](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L59-L59>) | `string` | The href property of the anchor. |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [target](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L61-L61>) (optional) | `string` | The target property of the anchor. |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L57-L57>) | `"link"` |  |

### [MenuItemRouterLink](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L48-L54>)

**Kind:** interface

```
import type { MenuItemRouterLink } from '@siemens/element-ng/menu';
```

Represents a menu item that navigates using the Angular Router.

Requires a configured Angular Router.

```
interface MenuItemRouterLink extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [extras](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L53-L53>) (optional) | `NavigationExtras` | Navigation extras that are passed to the [RouterLink](<https://angular.dev/api/router/RouterLink>). |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [routerLink](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L51-L51>) | `string \| any[]` | Link for the angular router. Accepts the same values as [RouterLink](<https://angular.dev/api/router/RouterLink>). |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L49-L49>) | `"router-link"` |  |

### [MenuItemGroup](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L28-L32>)

**Kind:** interface

```
import type { MenuItemGroup } from '@siemens/element-ng/menu';
```

```
interface MenuItemGroup extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [children](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L31-L31>) | `MenuItem[]` | Submenu items for this menu item. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L29-L29>) | `"group"` |  |

### [MenuItemRadioGroup](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L64-L68>)

**Kind:** interface

```
import type { MenuItemRadioGroup } from '@siemens/element-ng/menu';
```

```
interface MenuItemRadioGroup
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [children](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L67-L67>) | `[MenuItemHeader, ...(MenuItemRadio \| MenuItemHeader \| MenuDivider)[]]` | Items that are part of the radio group. |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L65-L65>) | `"radio-group"` |  |

### [MenuItemRadio](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L70-L79>)

**Kind:** interface

```
import type { MenuItemRadio } from '@siemens/element-ng/menu';
```

```
interface MenuItemRadio extends MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L78-L78>) | `string \| ((actionParam: any, source: MenuItemRadio) => void)` | Action that called when the item is triggered. A function will be called, a string will be dispatched to the [SiMenuActionService](<../../types/SiMenuActionService/index.html#t:SiMenuActionService>). |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional, inherited) | `string \| number` | Badge that is rendered after the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional, inherited) | `string` | Color of the badge (not iconBadge).<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [checked](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L73-L73>) | `boolean` | Whether the radio is checked. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional, inherited) | `boolean` | Whether the menu item id disabled.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional, inherited) | `string` | Optional icon that will be rendered before the label.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional, inherited) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional, inherited) | `string` | ID that will be attached to the DOM node.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) (inherited) | `TranslatableString` | Label that is shown to the user.<br><br>Inherited from [MenuItemBase](<index.html#t:MenuItemBase>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L71-L71>) | `"radio"` |  |

### [MenuItemHeader](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L92-L96>)

**Kind:** interface

```
import type { MenuItemHeader } from '@siemens/element-ng/menu';
```

```
interface MenuItemHeader
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L95-L95>) | `string` | The label of the header. |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L93-L93>) | `"header"` |  |

### [MenuDivider](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L98-L100>)

**Kind:** interface

```
import type { MenuDivider } from '@siemens/element-ng/menu';
```

```
interface MenuDivider
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L99-L99>) | `"divider"` |  |

### [MenuItemBase](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L8-L26>)

**Kind:** interface

```
import type { MenuItemBase } from '@siemens/element-ng/menu';
```

```
interface MenuItemBase
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [badge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L21-L21>) (optional) | `string \| number` | Badge that is rendered after the label. |
| [badgeColor](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L23-L23>) (optional) | `string` | Color of the badge (not iconBadge). |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L25-L25>) (optional) | `boolean` | Whether the menu item id disabled. |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L14-L14>) (optional) | `string` | Optional icon that will be rendered before the label. |
| [iconBadge](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L19-L19>) (optional) | `string \| number \| boolean` | Badge (always red) that is attached to the icon. If value===true, an empty red dot will be rendered. |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L10-L10>) (optional) | `string` | ID that will be attached to the DOM node. |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/menu/si-menu-model.ts#L12-L12>) | `TranslatableString` | Label that is shown to the user. |
