Copy or cut text or element text to clipboard.
Easy to plug into any event in template code.
Represents result of copy/cut action.
clearSelection Copy action selects copied text. Calling this function will remove selection.
error Additional info about reason of copy/cut failure.
For example due to lack of browser support of copy/cut.
success If true then copy/cut action finished with success.
text Text that was copied / cut into clipboard.