You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.messages.

Class MessageInput.SubmitEvent

    • Constructor Detail

      • SubmitEvent

        public SubmitEvent​(MessageInput source,
                           boolean fromClient,
                           @EventData("event.detail.value")
                           String value)

        Creates the event.

        Parameters:

        source - the source component

        fromClient - true if the event comes from the client

        value - the value of the input

    • Method Detail

      • getValue

        public String getValue()

        Gets the submitted value.

        Returns:

        the submitted value