Interface AIInput

All Superinterfaces:
Serializable

public interface AIInput extends Serializable
Interface for input components that are used in an AI conversation.
Author:
Vaadin Ltd
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addSubmitListener(com.vaadin.flow.function.SerializableConsumer<String> listener)
    Adds a listener for submit events.
  • Method Details

    • addSubmitListener

      void addSubmitListener(com.vaadin.flow.function.SerializableConsumer<String> listener)
      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, not null