@FunctionalInterface public interface BeforeLeaveObserver extends BeforeLeaveHandler
During this event phase there is the possibility to reroute to another navigation target or to postpone the navigation (to for instance get user input).
If a route target is left for reasons not under the control of the navigator
(for instance using
Page.setLocation(URI)
, typing a URL
into the address bar, or closing the browser), listeners are not called.
beforeLeave
Copyright © 2023. All rights reserved.