| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.shared.Registration |
MessageInput.addSubmitListener(com.vaadin.flow.component.ComponentEventListener<MessageInput.SubmitEvent> listener)
Adds a listener that is called when the user submits the value of the
input field, which can be obtained with
getValue(). |
| Constructor and Description |
|---|
MessageInput(com.vaadin.flow.component.ComponentEventListener<MessageInput.SubmitEvent> listener)
Creates a new message input component with the provided listener that
gets invoked when the user submits a new message.
|
Copyright © 2023. All rights reserved.