BaseMax / CopyClipboardJs
Tiny Library for copy text in clipboard.
README
CopyClipboard
Tiny Library for copy text in clipboard.
Features
- Fast
- Compact
- No dependencies
- Event after copy (e.g :
AJAX,send a GET request)
Arguments
| Argument Name | Goal |
|---|---|
| data-copy-text | Set Text |
| data-copy-from | Set target, to get the text from they |
| data-copy-after | Execute the code after copying |
| data-copy-link | Send GET Request to a link after copying |
Samples
To view the full details, run the Example.html file.
data-copy-text
Click , Copy!
data-copy-from
Enter Text :
Click , Copy!
data-copy-after
It will be completed in the future.
onclick
Click , Copy text with onclick
Click , Copy from #id with onclick
Click , Copy text
License
CopyClipboard is licensed under the GNU General Public License.
