next-to-clipboard
Copy text to clipboard.
installation
npm install -S @feizheng/next-to-clipboard
usage
import '@feizheng/next-to-clipboard';
document.getElementById('btn').onclick = function() {
nx.toClipboard('TEXT_FEI' + Math.random());
};
license
Code released under the MIT license.