Author: | kyle-rb |
---|---|
Views Total: | 1,481 views |
Official Page: | Go to website |
Last Update: | May 3, 2019 |
License: | Creative Commons Zero |
Preview:

Description:
simpleCopy is a dead simple, dependency-free JavaScript library that allows you to copy any content to the clipboard.
How to use it:
Download and import the simpleCopy library into the html file.
<script src="simplecopy.min.js"></script>
Call the main function and specify the content to be copied into your clipboard.
simplecopy(copyText)
Execute a custom function after the content is copied into the clipboard.
simplecopy(copyText, callback)
Changelog:
05/03/2019
- Use innerText
How can i do if in my post there are many area texts which need to be copy?