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