@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited @Documented @Repeatable(value=RouteAlias.Container.class) public @interface RouteAlias
The route alias allows declaring several route paths in addition to the path
declared by the
Route annotation. The component has to have at least
one @Route annotation which is considered as a primary route and
its route path will be used if
Router.getUrl(Class) is called. Thus
@RouteAlias route path is used only to resolve the component during
This annotation can be used multiple times on the same class.
|Modifier and Type||Required Element and Description|
Gets the route alias path value of the annotated class.
|Modifier and Type||Optional Element and Description|
Have the route chain break on defined class and not take into notice any more parent layout route prefixes.
Sets the parent component for the route target component.
public abstract String value
public abstract Class<? extends RouterLayout> layout
When navigating between components that use the same layout, the same component instance is reused.
UIof the application.
Copyright © 2018. All rights reserved.