Interface BrowserNavigation
- All Superinterfaces:
ClientService
,Serializable
The browser navigation provides methods to access a web browser's history for navigating within
the application. It is possible to create a history entry at the top of the history stack and to
handle a navigation change event.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a listener to the browser navigation.void
Creates an entry in the browser history.void
Removes a listener from the navigation support.
-
Method Details
-
pushState
Creates an entry in the browser history.- Parameters:
state
- an unique id to identify the history entry, used in the fragment part of the URL. Must neither benull
nor emptytitle
- a human-readable text to identify the history entry in the browser's UI ornull
-