SiChatContainerInputDirective documentation¶
import { SiChatContainerInputDirective } from '@siemens/element-ng/chat-messages';A directive to mark elements as input controls within a SiChatContainerComponent.
This directive is used to identify and style input elements that belong to the chat container component, typically applied to form inputs or textareas used for composing chat messages.
Example:
<si-chat-container>
<si-chat-message>Hello!</si-chat-message>
<si-chat-message>How are you?</si-chat-message>
<input siChatContainerInput type="text" placeholder="Type a message..." />
</si-chat-container>
See: SiChatContainerComponent for the chat container wrapper component
Except where otherwise noted, content on this site is licensed under MIT License.