Class GrapesJs.GrapesJsValueChangedEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<GrapesJs>
io.jmix.messagetemplatesflowui.kit.component.GrapesJs.GrapesJsValueChangedEvent
All Implemented Interfaces:
Serializable
Enclosing class:
GrapesJs

public static class GrapesJs.GrapesJsValueChangedEvent extends com.vaadin.flow.component.ComponentEvent<GrapesJs>
Event is fired at the moment of updating the value of the GrapesJs template.
See Also:
  • Field Details

    • value

      protected final String value
    • oldValue

      protected final String oldValue
  • Constructor Details

    • GrapesJsValueChangedEvent

      public GrapesJsValueChangedEvent(GrapesJs source, boolean fromClient, String value, String oldValue)
  • Method Details

    • getValue

      public String getValue()
      Returns:
      updated GrapesJS template value
    • getOldValue

      @Nullable public String getOldValue()
      Returns:
      previous GrapesJS template value