Clipboard API
Overview
Clipboard API allows web apps to programatically react on cut, copy, and paste operations performed by the user as well as read from or write to the system clipboard directly on behalf of the user.
Demo
https://nectar.website/demo/web-apis/clipboard/
Usage
You can refer to the code present in /partials/web-apis/clipboard.html
file and use it accordingly.
Reference
https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API
Last updated