We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.router.
Annotation Type ParentLayout
-
@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited @Documented public @interface ParentLayout
Defines the parent layout for components in routing hierarchy.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element and Description Class<? extends RouterLayout>
value
Sets the parent component for the route target component.
-
-
-
Element Detail
-
value
public abstract 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.
-
-