Skip to content

SiChatMessageActionsComponent documentation

import { SiChatMessageActionsComponent } from '@siemens/element-ng/chat-messages';

Shared action controls for user and AI messages.

Pass the pre-split primary and secondary actions to this component.

Input Properties

Name Type Default Description
actionParam
unknown

Parameter passed to action handlers.

actions
MenuItemAction[] []

Primary message actions displayed inline.

secondaryActions
MenuItemAction[] []

Secondary actions displayed in the menu.

secondaryActionsLabel
TranslatableString $localize`:@@SI_CHAT_MESSAGE_ACTIONS.SECONDARY_ACTIONS:Additional actions`

More actions button aria label.

Types Documentation

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

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 { MenuItemBase } from '@siemens/element-ng/menu';
Properties


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