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.
Package com.vaadin.flow.router
Annotation Interface Layout
Defines a RouterLayout
as eligible for use as automatic layout for
Flow and Hilla views.
Eligibility is checked by the value as path match.
Opting out from automatic layouting for a
Route
or RouteAlias
can be done with the Route.autoLayout()
or
RouteAlias.autoLayout()
method.
Since:
24.5
See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueSets the layout identifier value to link client view to server layout component. Default is "/".
Layout is linked by path so that anything matching the whole start match the rest. so "" or "/" matches all paths, but "/view" matches all paths starting with view path part so "/view/**".
Note! context path is not taken into account.
Returns:
the set layout identifier value
Default:
"/"
-