diff --git a/snippets/copyToClipboard.md b/snippets/copyToClipboard.md index f0dee0e1a..5d427206e 100644 --- a/snippets/copyToClipboard.md +++ b/snippets/copyToClipboard.md @@ -2,7 +2,7 @@ title: copyToClipboard tags: browser,string,event,advanced firstSeen: 2017-12-31T11:40:33+02:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +lastUpdated: 2022-01-11T09:32:04+02:00 --- Copies a string to the clipboard. @@ -13,7 +13,7 @@ Only works as a result of user action (i.e. inside a `click` event listener). - Use `Document.execCommand('copy')` to copy to the clipboard. - Remove the `