Copyer.JS
Simple , Clipboard javascript library for copying things easily with ease.
How To Use
inlcude javascript file copyer.js
from dist
folder to your html.
<script src="copyer.min.js"></script>
then use the copyer
function as below,
copyer("id-name");
you can use button or other methods to call the function,
<p id="copy-me">Hello World</p>
<button onclick="copy-text()">Copy Above Text</button>
<script>
function copy-text(){
copyer("copy-me");
}
</script>
Build Yourself
execute these commands,
npm install or yarn
npm start or yarn run start
HandCrafted with ❤ by Palash Bauri | Licensed Under MIT |