Package com.vaadin.flow.router
Annotation Type PageTitle
-
@Retention(RUNTIME) @Target(TYPE) public @interface PageTitle
Defines the HTML page title for a navigation target.- Since:
- 1.0
-
-
Element Detail
-
value
String value
Gets the HTML title that should be used.Empty string will clear any previous page title. In that case the browser will decide what to show as the title, most likely the url.
You may dynamically update the title for a view by implementing the
HasDynamicTitle.getPageTitle()
method.- Returns:
- a page title string
-
-