Class ConfirmDialog.ConfirmEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<ConfirmDialog>
com.vaadin.flow.component.confirmdialog.ConfirmDialog.ConfirmEvent
All Implemented Interfaces:
Serializable
Enclosing class:
ConfirmDialog

@DomEvent("confirm") public static class ConfirmDialog.ConfirmEvent extends com.vaadin.flow.component.ComponentEvent<ConfirmDialog>
Event that is fired when the user clicks the Confirm button

Note that the event is fired before the dialog's closing animation has finished. When manually adding / removing the dialog to / from the UI, use the ConfirmDialog.ClosedEvent to wait with the removal until the animation has finished. When relying on the auto-add behavior by just calling ConfirmDialog.open() or ConfirmDialog.setOpened(boolean), this is not necessary.

See Also:
  • Constructor Details

    • ConfirmEvent

      public ConfirmEvent(ConfirmDialog source, boolean fromClient)