clipbuffer

Interface for clipboard.

Because browsers doesn't allow direct comunication with clipboard, lib creates hidden textarea which always hold text for copy (ctr-c) operation. So you can't set text directly to clipboard but you can place it ready for ctrl-c operation.

Methods
destructor destroys the clipbuffer, cleaning the DOM
focus moves focus to the clipboard buffer
init initializes the clipboard buffer
set sets new value for clipboard buffer
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.