Annotation Interface Route
This class is an annotation that can be used to decorate classes with routing information. It is used in conjunction with the
PlaceManager and Page interfaces to define routes within an application.
Usage example:
@Route(value = "/home", title = "Home Page", selector = "#app-home") public class HomePage implements Page { //
Implementation details... }
The Route annotation has the following attributes:
value: Specifies the URL that should match the route.title: Specifies the title of the page associated with the route.selector: Specifies the CSS selector that identifies the element whose child elements are replaced by the elements of the page.loader: Specifies a reference to a named loader annotated withLoader
The annotated class must implement the Page interface to be properly registered with the PlaceManager.
-
Optional Element Summary
Optional Elements