Package com.vaadin.flow.router
Annotation Interface ParentLayout
Defines the parent layout for components in routing hierarchy.
- Since:
- 1.0
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends RouterLayout>
Sets the parent component for the route target component.
-
Element Details
-
value
Class<? extends RouterLayout> valueSets 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.
-