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

Annotation Type ParentLayout

    • Required Element Summary

      Required Elements
      Modifier and Type Required Element Description
      Class<? extends RouterLayout> value

      Sets the parent component for the route target component.

    • Element Detail

      • value

        Class<? extends RouterLayout> value

        Sets the parent component for the route target component.

        When navigating between components that use the same layout, the same component instance is reused.

        Returns:

        the layout component class used by the route target component.