From 52ef8585b50a7cb6d2b01feff7726082ed01ac27 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Thu, 21 Nov 2019 22:02:44 +0200 Subject: [PATCH] Update copyToClipboard.md --- snippets/copyToClipboard.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snippets/copyToClipboard.md b/snippets/copyToClipboard.md index d3d07d984..577e458ae 100644 --- a/snippets/copyToClipboard.md +++ b/snippets/copyToClipboard.md @@ -3,11 +3,11 @@ title: copyToClipboard tags: browser,string,advanced --- -⚠️ **NOTICE:** The same functionality can be easily implemented by using the new asynchronous Clipboard API, which is still experimental but should be used in the future instead of this snippet. Find out more about it [here](https://github.com/w3c/clipboard-apis/blob/master/explainer.adoc#writing-to-the-clipboard). - Copy a string to the clipboard. Only works as a result of user action (i.e. inside a `click` event listener). +⚠️ **NOTICE:** The same functionality can be easily implemented by using the new asynchronous Clipboard API, which is still experimental but should be used in the future instead of this snippet. Find out more about it [here](https://github.com/w3c/clipboard-apis/blob/master/explainer.adoc#writing-to-the-clipboard). + Create a new `