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.router.
Package com.vaadin.flow.router
Class BeforeLeaveEvent.ContinueNavigationAction
java.lang.Object
com.vaadin.flow.router.BeforeLeaveEvent.ContinueNavigationAction
All Implemented Interfaces:
Enclosing class:
The action to resume a postponed BeforeEnterEvent
.
Since:
1.0.
Author:
Vaadin Ltd
See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Cancel the navigation that was postponed.
void
proceed()
Resumes the page transition associated with the postponed event.
void
setReferences
(NavigationHandler handler, NavigationEvent event) Sets the navigation
handler
and the navigationevent
for this action.
-
Method Details
-
proceed
public void proceed()Resumes the page transition associated with the postponed event.
-
cancel
public void cancel()Cancel the navigation that was postponed.
This is so that the client router pending promise closes. Also updates the correct url on back navigation if blocking back.