public class PopStateHandler extends Object
popstate events and sends them to the server.| Constructor and Description |
|---|
PopStateHandler(Registry registry)
Creates a new
popstate listener for delivering events to the
server. |
| Modifier and Type | Method and Description |
|---|---|
void |
bind()
Start listening to
popstate events and send them to the
server. |
public PopStateHandler(Registry registry)
popstate listener for delivering events to the
server. Ignores events caused by hash changes, e.g. when the page stays
the same.
If the UI is stopped when a popstate event occurs, performs
a refresh to restart the UI.
NOTE: the listening won't start before invoking bind().
registry - the registry to bind toCopyright © 2000–2021 Vaadin Ltd. All rights reserved.