We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.
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:
Enclosing class:
@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.
-