Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 881 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 881 Bytes

copy-to-clip

Build Status npm version

Copy text to the clipboard

Comparison

Simple usage

button.addEventListener('click', () => {
	copy('Copy smth...');
});

Usage in browser

<script src="./index.js"></script>
<script>
	button.addEventListener('click', () => {
		copyToClip(getUnicorns(i));
	});
</script>

License

MIT © Dmitry Bardt