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.internal.
Package com.vaadin.flow.router.internal
Interface BeforeLeaveHandler
All Superinterfaces:
All Known Subinterfaces:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The base interface for every BeforeLeaveEvent
handler.
For internal use only. May be renamed or removed in a future release.
Since:
1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeLeave
(BeforeLeaveEvent event) Callback executed before navigation to detaching Component chain is made.
-
Method Details
-
beforeLeave
Callback executed before navigation to detaching Component chain is made.
Parameters:
event
- before navigation event with event details
-