Directory

← Back

ClipboardHelper

ClipboardHelper add-on for Vaadin 10 copies text to the clipboard when a component is clicked

Author

Rating

Popularity

1100+

Wrap any Component with this helper and you can copy the text of your choosing to the clipboard.

Sample code

        Button button = new Button("click this button to copy some stuff to the clipboard");
        ClipboardHelper clipboardHelper = new ClipboardHelper("some stuff", button);
        add(clipboardHelper);

Compatibility

1.0.01.0.11.1.11.1.21.2.02.0.0
(24.4)
(24.3)
(24.2)
(24.1)
24YYYYYY
14-23YYYYY
10-13YYYY
(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

Added parameterless constructor

Released
2019-05-10
Maturity
TESTED
License
Apache License 2.0

Compatibility

Framework
Vaadin 10+
Vaadin 24 in 2.0.0
Vaadin 14+ in 1.2.0
Browser
Google Chrome

ClipboardHelper - Vaadin Add-on Directory

ClipboardHelper add-on for Vaadin 10 copies text to the clipboard when a component is clicked ClipboardHelper - Vaadin Add-on Directory
Wrap any Component with this helper and you can copy the text of your choosing to the clipboard.
Source Code

ClipboardHelper version 1.0.0
Initial release

ClipboardHelper version 1.0.1
Added parameterless constructor

ClipboardHelper version 1.1.1
Fixed packaging problem, should now work with V14 npm mode as well

ClipboardHelper version 1.1.2
Potential bugfix release: Attempting to exclude `flow-build-info.json`

ClipboardHelper version 1.2.0
Build upgrade so flow-info.json is no longer included

ClipboardHelper version 2.0.0
Version for Vaadin 24

Online