@FunctionalInterface public interface BeforeLeaveListener extends BeforeLeaveHandler
UI
using
UI.addBeforeLeaveListener(BeforeLeaveListener).
All listeners added this way will be informed when old components are
detached from the UI.
During this phase there is the possibility to reroute to another navigation
target or to postpone the navigation (to for instance get user input).
All BeforeLeaveListeners will be executed before the BeforeLeaveObservers.
To control the order of execution of BeforeLeaveListeners, see ListenerPriority
beforeLeaveCopyright © 2000–2018 Vaadin Ltd. All rights reserved.