# SiWeatherWidgetComponent documentation

**Kind:** component

**Selector:** `si-weather-widget`

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

Dashboard widget for current weather conditions, additional metrics and an optional multi-day forecast.

The widget supports three layouts (see [SiWeatherWidgetLayout](<index.html#t:SiWeatherWidgetLayout>)):

• `vertical` (default): full vertical card with `<si-card>` heading, illustration, today block, optional additional data and an optional forecast table with up to five extra columns.

• `horizontal`: wider card with the today block laid out side by side and a horizontal forecast strip below. The forecast SHOULD contain at least three days for a visually balanced layout.

• `compact`: condensed variant without a card header. The [location](<index.html#SiWeatherWidgetComponent.location>) is rendered next to the illustration. The forecast is not shown.

Data is supplied as a composite [value](<index.html#SiWeatherWidgetComponent.value>) payload of type [SiWeatherWidgetData](<index.html#t:SiWeatherWidgetData>).

Weather illustrations are resolved by an optional `SiWeatherIconResolver` that application developers register. Without a resolver the widget only renders illustrations when callers pass a direct `illustration.src`.

```
component SiWeatherWidgetComponent
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [accentLine](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L123-L123>) | `AccentLineType \| undefined` |  | Optional accent line. |
| [disableAutoLoadingIndicator](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L82-L82>) | `boolean` | `false` | Option to disable automatic start of skeleton loading indication. |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L49-L49>) | `TranslatableString \| undefined` |  | Card heading text. Used as the card header in `vertical` and `horizontal` layouts. In the `compact` layout, the location is rendered inside the body instead and this input is ignored. |
| [imgAlt](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L103-L103>) | `TranslatableString \| undefined` |  | Alt text for a provided image. |
| [imgDir](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L109-L109>) | `"horizontal" \| "vertical"` | `'vertical'` | Defines if an image is placed on top or start (left) of the card. |
| [imgObjectFit](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L115-L115>) | `"fill" \| "contain" \| "cover" \| "none" \| "scale-down"` | `'scale-down'` | Sets the image [object-fit](<https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit>) CSS property. |
| [imgObjectPosition](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L119-L119>) | `string \| undefined` |  | Sets the image [object-position](<https://developer.mozilla.org/en-US/docs/Web/CSS/object-position>) CSS property. |
| [imgSrc](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L99-L99>) | `string \| undefined` |  | Image source for the card. |
| [initialLoadingIndicatorDebounceTime](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L95-L95>) | `number` | `300` | Initial delay time in milliseconds before enabling loading indicator. Only used once initially during construction. |
| [layout](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L60-L60>) | `SiWeatherWidgetLayout` | `'vertical'` | Visual layout. [SiWeatherWidgetLayout](<index.html#t:SiWeatherWidgetLayout>). |
| [location](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L54-L54>) | `TranslatableString \| undefined` |  | Location displayed next to the illustration in the `compact` layout. Has no effect in `vertical` or `horizontal` layouts; use [heading](<index.html#SiWeatherWidgetComponent.heading>) there. |
| [primaryActions](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L70-L70>) | `ContentActionBarMainItem[]` | `[]` | Input list of primary action items. Supports up to **4** actions and omits additional ones. |
| [secondaryActions](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L76-L76>) | `MenuItem[]` | `[]` | Input list of secondary action items. |
| [showLoadingIndicator](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L88-L88>) | `boolean` | `false` | Input to start and stop the skeleton loading indication. |
| [value](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.component.ts#L64-L64>) | `SiWeatherWidgetData \| undefined` |  | Composite weather payload of type [SiWeatherWidgetData](<index.html#t:SiWeatherWidgetData>). |

### Types Documentation

### [AccentLineType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L10-L10>)

**Kind:** type alias

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

```
type AccentLineType = StatusType | 'caution' | 'primary' | 'inactive'
```

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

### [SiWeatherWidgetData](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L123-L127>)

**Kind:** interface

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

Composite payload accepted by the body component. Granular widget/body inputs (`current`, `metrics`, `forecast`) take precedence when set.

```
interface SiWeatherWidgetData
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [current](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L124-L124>) | `SiWeatherWidgetCurrent` |  |
| [forecast](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L126-L126>) (optional) | `SiWeatherWidgetForecast` |  |
| [metrics](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L125-L125>) (optional) | `readonly SiWeatherWidgetMetric[]` |  |

### [SiWeatherWidgetLayout](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L17-L17>)

**Kind:** type alias

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

Visual layout of the [SiWeatherWidgetComponent](<index.html#SiWeatherWidgetComponent>).

• `vertical`: full vertical card layout with header, today block, optional additional data and an optional vertical forecast table.

• `horizontal`: wider card with the today block laid out side by side and a horizontal forecast strip below.

• `compact`: condensed card without a card header. Location and min/max temperature are rendered next to the illustration. Does not show a forecast.

```
type SiWeatherWidgetLayout = 'vertical' | 'horizontal' | 'compact'
```

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

### [SiWeatherWidgetCurrent](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L45-L58>)

**Kind:** interface

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

Today block of the weather widget.

```
interface SiWeatherWidgetCurrent
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [condition](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L49-L49>) (optional) | `TranslatableString` | Translatable condition label, e.g. `"Sunny"`. |
| [illustration](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L51-L51>) (optional) | `string \| SiWeatherIcon` | Weather illustration. A string is shorthand for `{ src }`. |
| [illustrationAlt](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L53-L53>) (optional) | `TranslatableString` | Optional alt text used when [illustration](<index.html#t:SiWeatherWidgetCurrent.illustration>) is given as a string. |
| [maxTemperature](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L57-L57>) (optional) | `string \| number` | Today's maximum temperature, pre-formatted by the caller. |
| [minTemperature](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L55-L55>) (optional) | `string \| number` | Today's minimum temperature, pre-formatted by the caller. |
| [temperature](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L47-L47>) | `string \| number` | Current temperature, pre-formatted by the caller (e.g. `"26°"` or `26`). |

### [SiWeatherWidgetMetric](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L63-L68>)

**Kind:** interface

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

A single metric row in the additional-data block (e.g. wind, precipitation).

```
interface SiWeatherWidgetMetric
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L65-L65>) | `TranslatableString` | Translatable label, e.g. `"Wind"`. |
| [value](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L67-L67>) | `string \| number` | Pre-formatted value, e.g. `"7km/h"`. |

### [SiWeatherWidgetForecast](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L111-L117>)

**Kind:** interface

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

Forecast block of the weather widget.

The vertical layout supports up to five optional [columns](<index.html#t:SiWeatherWidgetForecast.columns>) in addition to the mandatory rightmost min/max temperature column. The horizontal layout ignores [columns](<index.html#t:SiWeatherWidgetForecast.columns>) and renders only day label, illustration and min/max temperature per column. A horizontal forecast should provide at least three days for a visually balanced layout.

```
interface SiWeatherWidgetForecast
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [columns](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L116-L116>) (optional) | `readonly SiWeatherWidgetForecastColumn[]` | Optional extra columns (vertical layout only). At most five are rendered. |
| [days](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L113-L113>) | `readonly SiWeatherWidgetForecastDay[]` | The forecast days in display order. |

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

### [StatusType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L7-L7>)

**Kind:** type alias

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

```
type StatusType = 'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical'
```

### [SiWeatherIcon](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L33-L40>)

**Kind:** interface

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

Describes how a weather illustration should be resolved. Callers can either provide a direct [SiWeatherIcon.src](<index.html#t:SiWeatherIcon.src>) or a semantic [SiWeatherIcon.condition](<index.html#t:SiWeatherIcon.condition>) token resolved by a [SiWeatherIconResolver](<../../injectables/SiWeatherIconResolver/index.html#SiWeatherIconResolver>).

```
interface SiWeatherIcon
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [alt](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L39-L39>) (optional) | `TranslatableString` | Translatable alt text for accessibility. |
| [condition](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L35-L35>) (optional) | `string` | Semantic condition token, used by the resolver. Apps with custom resolvers may pass any string. |
| [src](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L37-L37>) (optional) | `string` | Direct URL/path. Wins over [condition](<index.html#t:SiWeatherIcon.condition>). |

### [SiWeatherWidgetForecastDay](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L91-L100>)

**Kind:** interface

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

A single day in the forecast block.

```
interface SiWeatherWidgetForecastDay
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [illustration](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L95-L95>) (optional) | `string \| SiWeatherIcon` | Weather illustration for the day. A string is shorthand for `{ src }`. |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L93-L93>) | `TranslatableString` | Translatable day label, e.g. `"Mon"`. |
| [maxTemperature](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L99-L99>) | `string \| number` | Maximum temperature, pre-formatted by the caller. |
| [minTemperature](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L97-L97>) | `string \| number` | Minimum temperature, pre-formatted by the caller. |

### [SiWeatherWidgetForecastColumn](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L76-L86>)

**Kind:** interface

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

An optional forecast column shown left of the temperature column in vertical layouts. The widget supports up to five of these columns; additional columns are ignored. The temperature column is mandatory and always rendered on the right; it does not need to be modelled as a column here.

```
interface SiWeatherWidgetForecastColumn
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L80-L80>) (optional) | `string` | element-icons icon name shown next to each row value. |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L78-L78>) (optional) | `TranslatableString` | Translatable column label, used as `aria-label` for the column. |
| [values](<https://github.com/siemens/element/blob/main/projects/element-ng/dashboard/widgets/si-weather-widget/si-weather-widget.types.ts#L85-L85>) | `readonly (string \| number \| undefined)[]` | Per-day values, aligned by index with [SiWeatherWidgetForecast.days](<index.html#t:SiWeatherWidgetForecast.days>). Missing entries are rendered as empty cells. |

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