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.
@FunctionalInterface public interface BeforeLeaveHandler extends Serializable
The base interface for everyBeforeLeaveEvent
handler.For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beforeLeave(BeforeLeaveEvent event)
Callback executed before navigation to detaching Component chain is made.
-
-
-
Method Detail
-
beforeLeave
void beforeLeave(BeforeLeaveEvent event)
Callback executed before navigation to detaching Component chain is made.- Parameters:
event
- before navigation event with event details
-
-