Package com.vaadin.flow.component.ai.ui
Interface AIInput
public interface AIInput
Interface for input components that are used in an AI conversation.
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubmitListener(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
-