Class SidePanelAfterResizeEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<JmixSidePanelLayout>
io.jmix.flowui.kit.component.sidepanellayout.SidePanelAfterResizeEvent
- All Implemented Interfaces:
Serializable
@DomEvent("jmix-side-panel-layout-after-resize-event")
public class SidePanelAfterResizeEvent
extends com.vaadin.flow.component.ComponentEvent<JmixSidePanelLayout>
The event is fired once after the user finishes resizing the side panel by releasing the drag
handle. It does not fire during the drag.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionSidePanelAfterResizeEvent(JmixSidePanelLayout source, boolean fromClient, String size) -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Field Details
-
size
-
-
Constructor Details
-
SidePanelAfterResizeEvent
public SidePanelAfterResizeEvent(JmixSidePanelLayout source, boolean fromClient, @EventData("event.detail.size") String size)
-
-
Method Details
-
getSize
Returns the new side panel size: the width for horizontal positions, the height for vertical positions. Reported as a CSS length inpx.- Returns:
- the new side panel size
-