Clipboard API and events
This feature is supported in mobile applications only.
The clipboard and events feature is used for cutting, copying, and pasting content to easily transfer it between Web applications.
The main features of Clipboard API and events include:
-
Copying
You can fire the copy event to place the selected data on the clipboard.
-
Cutting
You can fire the cut event to place the selected data on the clipboard, and remove the selected content in the document.
-
Pasting
You can fire the paste event to retrieve data from the clipboard and insert it into a document. The data is retrieved in the format most appropriate to the assigned context.
The most common way of providing clipboard features in an application is to create an editable element, and allow the user to copy content and then paste it into the editable element.