Package com.vaadin.flow.router.internal
Interface BeforeLeaveHandler
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
BeforeLeaveListener
,BeforeLeaveObserver
- 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
-