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 every BeforeLeaveEvent handler.

For internal use only. May be renamed or removed in a future release.

Since:

1.0

  • Method Summary

    Modifier and Type
    Method
    Description
    void

    Callback executed before navigation to detaching Component chain is made.

  • Method Details

    • beforeLeave

      void beforeLeave(BeforeLeaveEvent event)

      Callback executed before navigation to detaching Component chain is made.

      Parameters:

      event - before navigation event with event details