mirror of https://github.com/sveltejs/svelte
parent
b336f66f13
commit
8e2cd49f87
@ -0,0 +1,3 @@
|
||||
export default function setClipboard(text) {
|
||||
navigator.clipboard.writeText(text);
|
||||
}
|
||||
Loading…
Reference in new issue