Ver Fonte

Add note about needed secure context for this to work

Matthias Niess há 2 anos atrás
pai
commit
5dfec36790
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      README.md

+ 3 - 0
README.md

@@ -44,6 +44,9 @@ window.Alpine.start()
 
 
 ## Usage
 ## Usage
 
 
+> **Note**
+> The Clipboard Web-API requires a secure context (i.e. https) to function in most browsers ([more info](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)).
+
 To copy some data to the clipboard, invoke `$clipboard` from an event handler in your component.
 To copy some data to the clipboard, invoke `$clipboard` from an event handler in your component.
 
 
 ```html
 ```html