Skip to content
Edit this page

SiNotificationItemComponent documentation

import { SiNotificationItemComponent } from '@siemens/element-ng/notification-item';

This component represents a single notification that can be used within notification centers, popovers, or other containers. It supports various action types including router links, standard links, action buttons, and menus.

Input Properties

Name Type Default Description
description
TranslatableString | undefined

Optional translatable description.

heading required
TranslatableString

The heading of the notification item.

primaryAction
NotificationItemPrimaryAction | undefined

Action that is displayed on the right side of the notification.

quickActions
NotificationItemQuickAction[] | undefined

Actions that are displayed below the text of the notification.

timeStamp required
TranslatableString

The timestamp of the notification item.

unread
boolean false

Unread messages are emphasized with a bolder font.

Types Documentation

import type { NotificationItemLink } from '@siemens/element-ng/notification-item';

Interface for a standard link in a notification item.

import type { NotificationItemPrimaryAction } from '@siemens/element-ng/notification-item';

Union type for primary actions in a notification item.

import type { NotificationItemQuickAction } from '@siemens/element-ng/notification-item';

Union type for quick actions in a notification item.

import type { NotificationItemRouterLink } from '@siemens/element-ng/notification-item';

Interface for a router link in a notification item.

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.

import type { NotificationItemActionCircleButton } from '@siemens/element-ng/notification-item';

Interface for an action circle button in a notification item.

Deprecated: Use NotificationItemActionIconButton instead. This will be removed in a future release.

Properties

import type { NotificationItemActionIconButton } from '@siemens/element-ng/notification-item';

Interface for an action icon button in a notification item.

Properties

import type { NotificationItemLinkIcon } from '@siemens/element-ng/notification-item';

Interface for a standard link with an icon in a notification item.

Properties

import type { NotificationItemRouterLinkIcon } from '@siemens/element-ng/notification-item';

Interface for a router link with an icon in a notification item.

Properties

import type { NotificationItemMenu } from '@siemens/element-ng/notification-item';

Interface for a menu in a notification item.

Properties

import type { NotificationItemActionButton } from '@siemens/element-ng/notification-item';

Interface for an action button in a notification item.

Properties

import type { NotificationItemBase } from '@siemens/element-ng/notification-item';

Base interface for notification item actions.

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

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

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

Represents a menu item that navigates using the Angular Router.

Requires a configured Angular Router.

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

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

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

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

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

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

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


Except where otherwise noted, content on this site is licensed under MIT License.