Package | Description |
---|---|
com.vaadin.flow.component.messages |
Modifier and Type | Method and Description |
---|---|
Registration |
MessageInput.addSubmitListener(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(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 © 2024. All rights reserved.