clipeace
v0.0.7
Published
Copy the innerText of the Element to the clipboard
Downloads
5
Readme
clipeace
A simple clipboard module
Install
npm install --save clipeace
Usage
const clipeace = require('clipeace');
const target = document.getElementById('target');
clipeace(target)
.then((res) => {
// suceess
}).catch((err) => {
// failure
})