From 6f0673f30d801fee0794768ee6e0697af31e8b32 Mon Sep 17 00:00:00 2001 From: 30secondsofcode <30secondsofcode@gmail.com> Date: Tue, 10 Apr 2018 15:42:43 +0000 Subject: [PATCH] Travis build: 1932 --- README.md | 2 ++ docs/browser.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a156d0f7..800aea055 100644 --- a/README.md +++ b/README.md @@ -2953,6 +2953,8 @@ bottomVisible(); // true ### copyToClipboard ![advanced](/advanced.svg) +⚠️ **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). Create a new `