How to access the external link in Vaadin 24?

So far all I can find from the Vaadin 24 docs are describing the navigating or routing between views within a Vaadin application. However, I didn’t find any post regarding my question.

What do you mean? Adding a link to Google or some other page? Just use new Anchor() with the full URL

For example, click on a button, and then the current chrome browser tab will load other website such as www.google.com

Does the Confirm Dialog support adding an Anchor instead of “Confirm” button?

or is there any programmatic way to trigger Anchor clicking event?

UI.getCurrent().getPage().setLocation(“https://vaadin.com”) can be called in a button click

Nice, that’s just what I’m looking for. Thank you so so much!