Message Input
API: TypeScript / Java
Source: TypeScript / Java
Message Input allows users to author and send messages.
- Usage
- Styling
Message Input allows users to author and send messages.
The user can send the message with one of the following actions:
-
by pressing Enter (use Shift+Enter to add a new line)
-
by clicking the “send” button.
Use the Message List component to show messages that users have sent.
Open in a
new tab
new tab
<vaadin-message-list .items="${this.items}"></vaadin-message-list>
<vaadin-message-input @submit="${this._handleSubmit}"></vaadin-message-input>
Related Components
Component | Usage recommendations |
---|---|
Show a list of messages. |
F69B472B-4E0A-4593-9A6C-5E57B417B1FE