Directory

← Back

Browser Opener

Open a new browser window when clicking on a component

Author

Rating

Popularity

400+

This component is a replacement for Vaadin 8's BrowserWindowOpener extension. You can wrap a component with this helper to make clicking it open a new browser window.

Sample code

    BrowserOpener bo = new BrowserOpener();
    bo.setContent(new Button("click this button to open"));
    bo.setUrl("https://www.vaadin.com");
    add(bo);

Compatibility

0.10.20.30.40.51.0.02.0.0
(24.5)
(24.4)
(24.3)
(24.2)
(24.1)
24YYYYYYY
23YYYYYY
14-22YYYYY
11-13YYY
10Y
(8.21)
(8.20)
(8.19)
(8.18)
(8.17)
(8.16)
(8.15)
(8.14)
(8.13)
(8.12)
(8.11)
(8.10)
(8.9)
(8.8)
(8.7)
(8.6)
(8.5)
(8.4)
(8.3)
(8.2)
(8.1)
(8.0)
(7.7)
(7.6)
(7.5)
(7.4)
(7.3)
(7.2)
(7.1)
(7.0)
(6.8)
(6.7)
(6.6)
(6.5)
(6.4)
(6.3)
(6.2)
(6.1)
(6.0)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

0.1: Basic functionality

Released
2018-09-25
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 11+
Vaadin 24+ in 2.0.0
Vaadin 23+ in 1.0.0
Vaadin 14+ in 0.5
Vaadin 10+ in 0.3
Browser
Browser Independent

Browser Opener - Vaadin Add-on Directory

Open a new browser window when clicking on a component Browser Opener - Vaadin Add-on Directory
This component is a replacement for Vaadin 8's BrowserWindowOpener extension. You can wrap a component with this helper to make clicking it open a new browser window.
Source Code

Browser Opener version 0.1
0.1: Basic functionality

Browser Opener version 0.2
Added a configurable windowName property

Browser Opener version 0.3
Downgraded version to Vaadin 10

Browser Opener version 0.4
New version for V14

Browser Opener version 0.5
Applied exclude of flow-build-info.json

Browser Opener version 1.0.0
Version for Vaadin 23 and Java 11

Browser Opener version 2.0.0
Version for V24

Online