com.vaadin.flow.router.

Interface RouterLayout

  • All Superinterfaces:

    HasElement, Serializable

    All Known Implementing Classes:

    UI


    public interface RouterLayout
    extends HasElement

    Implementations of this interface represent a parent for a navigation target components via the Route.layout() parameter.

    Since:

    1.0

    Author:

    Vaadin Ltd

    • Method Detail

      • showRouterLayoutContent

        default void showRouterLayoutContent(HasElement content)

        Shows the content of the layout which is the router target component annotated with a @Route.

        Note implementors should not care about old @Route content, because Router automatically removes it before calling the method.

        Parameters:

        content - the content component or null if the layout content is to be cleared.