v0.0.1
This commit is contained in:
5
web/lib/components/clipboard.js
Normal file
5
web/lib/components/clipboard.js
Normal file
@@ -0,0 +1,5 @@
|
||||
clipboard = (text) => {
|
||||
navigator.clipboard.writeText(text)
|
||||
.then(() => console.log("Текст скопійовано!"))
|
||||
.catch(err => console.error(err))
|
||||
}
|
||||
Reference in New Issue
Block a user