Package com.vaadin.flow.component
Class UI.BrowserLeaveNavigationEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<UI>
com.vaadin.flow.component.UI.BrowserLeaveNavigationEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UI
@DomEvent("ui-leave-navigation")
public static class UI.BrowserLeaveNavigationEvent
extends ComponentEvent<UI>
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionBrowserLeaveNavigationEvent
(UI source, boolean fromClient, String route, String query) Creates a new event instance. -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
EVENT_NAME
- See Also:
-
-
Constructor Details
-
BrowserLeaveNavigationEvent
public BrowserLeaveNavigationEvent(UI source, boolean fromClient, @EventData("route") String route, @EventData("query") String query) Creates a new event instance.- Parameters:
route
- the route the user is navigating to.query
- the query string the user is navigating to.
-