Skip to content

SiChatMessageActionDirective documentation

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

Directive to mark content as chat message actions into SiChatMessageComponent. Apply this directive to e.g. buttons that should be slotted into the message actions area.

Example:

<si-chat-message>
  Message content
  <button siChatMessageAction>Like</button>
  <button siChatMessageAction>Share</button>
</si-chat-message>

See: SiChatMessageComponent for the chat message wrapper component


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