Class AiMessageInput.StopEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<AiMessageInput>
io.jmix.aichat.component.messageinput.AiMessageInput.StopEvent
All Implemented Interfaces:
Serializable
Enclosing class:
AiMessageInput

@DomEvent("stop") public static class AiMessageInput.StopEvent extends com.vaadin.flow.component.ComponentEvent<AiMessageInput>
The stop event, fired when the user clicks the button while the input is in the generating state (see AiMessageInput.setGenerating(boolean)). The application is expected to cancel the in-flight generation.
See Also:
  • Constructor Details

    • StopEvent

      public StopEvent(AiMessageInput source, boolean fromClient)
      Creates the event.
      Parameters:
      source - the source component
      fromClient - true if the event comes from the client