public class FragmentHandler extends Object
router link to a
path with fragment.
This class will trigger scroll to fragment and hash change event once the response from server has been processed, but only if the server did not override the location.
| Constructor and Description |
|---|
FragmentHandler(String previousHref,
String newHref,
Registry registry)
Creates a new fragment handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind()
Adds a request response tracker to the given registry for making sure the
fragment is handled correctly if the location has not been updated during
the response.
|
Copyright © 2000–2025 Vaadin Ltd. All rights reserved.