Package com.vaadin.flow.router
Annotation Type RoutePrefix
-
@Retention(RUNTIME) @Target(TYPE) @Inherited @Documented public @interface RoutePrefix
Defines the route prefix that a Parent layout adds to a route when used in the active view chain.- Since:
- 1.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
absolute
Have the route chain break on defined class and not take into notice any more parent layout route prefixes.
-
-
-
Element Detail
-
value
String value
Sets the route prefix defined for class.This value accepts also parameter template segments which can be defined using following format:
:parameterName[?|*][(regex)]
.- Returns:
- route prefix to add
-
-