com.vaadin.flow.router.

Class AfterNavigationEvent

  • All Implemented Interfaces:

    Serializable


    public class AfterNavigationEvent
    extends EventObject

    Event created before navigation happens.

    Since:

    1.0

    Author:

    Vaadin Ltd

    See Also:

    Serialized Form

    • Constructor Detail

      • AfterNavigationEvent

        public AfterNavigationEvent(LocationChangeEvent event)

        Construct event from a NavigationEvent.

        Parameters:

        event - NavigationEvent that is on going

    • Method Detail

      • getLocation

        public Location getLocation()

        Gets the new location.

        Returns:

        the new location, not null

      • getActiveChain

        public List<HasElement> getActiveChain()

        Get the active chain that we have after navigation.

        Returns:

        unmodifiable list of active view chain