Browse Source

Update Navigator.getState() JavaDoc to be more accurate (#11876)

Fixes: https://github.com/vaadin/framework/issues/11875
tags/8.11.0.alpha1
Tatu Lund 4 years ago
parent
commit
ab3d346c56
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      server/src/main/java/com/vaadin/navigator/Navigator.java

+ 5
- 0
server/src/main/java/com/vaadin/navigator/Navigator.java View File

@@ -900,6 +900,11 @@ public class Navigator implements Serializable {
/**
* Returns the current navigation state reported by this Navigator's
* {@link NavigationStateManager}.
* <p>
* When the navigation is triggered by the browser (for example by pressing
* the back or forward button in the browser), the navigation state may
* already have been updated to reflect the new address, before the
* {@link #navigateTo(String)} is notified.
*
* @return The navigation state.
*/

Loading…
Cancel
Save