com.vaadin.flow.component.

Class CompositionUpdateEvent

All Implemented Interfaces:

Serializable

@DomEvent("compositionupdate") public class CompositionUpdateEvent extends CompositionEvent

The event when a composition is updated.

Since:

1.0

Author:

Vaadin Ltd

See Also:

  • Constructor Details

    • CompositionUpdateEvent

      public CompositionUpdateEvent(Component source, boolean fromClient, @EventData("event.data") String data, @EventData("event.locale") String locale)

      Creates a new composition event.

      Parameters:

      source - the component that fired the event

      fromClient - true if the event was originally fired on the client, false if the event originates from server-side logic

      data - the string being composed

      locale - language code for the composition event, if available; otherwise, the empty string

    • CompositionUpdateEvent

      public CompositionUpdateEvent(Component source)

      Creates a new server-side composition event with no additional information.

      Parameters:

      source - the component that fired the event