Skip to content

Commit

Permalink
feat: Update navigation method signatures (#17407)
Browse files Browse the repository at this point in the history
* feat: Update navigation method signatures

This change makes UI#navigate, BeforeEvent#rerouteTo and BeforeEvent#forwardTo methods more consistent without changing the existing API:
- adds new methods in BeforeEvent that accepts route parameters.
- adds new methods in BeforeEvent that accepts query parameters.
- improves forwardTo and rerouteTo to accept route parameters being part of the location String (same way as UI#navigate does it already).

Fixes: #14553

* Fixed javadoc

* Added hasRedirectQueryParameters()
  • Loading branch information
tltv authored and vaadin-bot committed Sep 22, 2023
1 parent b3b4c05 commit dac767f
Show file tree
Hide file tree
Showing 3 changed files with 513 additions and 19 deletions.
Loading

0 comments on commit dac767f

Please sign in to comment.