Package com.vaadin.flow.component.ai.ui
Interface AIInput
- All Superinterfaces:
Serializable
Interface for input components that are used in an AI conversation.
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubmitListener(com.vaadin.flow.function.SerializableConsumer<String> listener) Adds a listener for submit events.
-
Method Details
-
addSubmitListener
Adds a listener for submit events.The listener is notified with the submitted value when the user submits input.
- Parameters:
listener- the listener to add, notnull
-