copyToClipboard

Sets a click event that copies text to the clipboard when the text is clicked.

Return

The HoverTextBuilder instance for method chaining.

Parameters

text

The text to copy to the clipboard when clicked.