Class Dialog.DialogResizeEvent

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    Dialog

    @DomEvent("resize")
    public static class Dialog.DialogResizeEvent
    extends com.vaadin.flow.component.ComponentEvent<Dialog>
    `resize` event is sent when the user finishes resizing the overlay.
    See Also:
    Serialized Form
    • Constructor Detail

      • DialogResizeEvent

        public DialogResizeEvent​(Dialog source,
                                 boolean fromClient,
                                 @EventData("event.detail.width")
                                 String width,
                                 @EventData("event.detail.height")
                                 String height)
    • Method Detail

      • getWidth

        public String getWidth()
        Gets the width of the overlay after resize is done
        Returns:
        the width in pixels of the overlay
      • getHeight

        public String getHeight()
        Gets the height of the overlay after resize is done
        Returns:
        the height in pixels of the overlay