You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.router.

Interface BeforeEnterObserver

  • All Superinterfaces:

    BeforeEnterHandler, Serializable

    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 BeforeEnterObserver
    extends BeforeEnterHandler

    Any attached component implementing this interface will receive an event before a new navigation state is entered.

    During this event phase there is the possibility to reroute to another navigation target.

    Since:

    1.0

    Author:

    Vaadin Ltd