Parcourir la source

Merge pull request #28 from dakira/docs/secure-origin

Ryan Chandler il y a 2 ans
Parent
commit
115d1d8c12
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      README.md

+ 3 - 0
README.md

@@ -44,6 +44,9 @@ window.Alpine.start()
 
 ## Usage
 
+> **Note**
+> The Clipboard API that this package uses only works in a secure context (`https`) and `localhost`. 
+
 To copy some data to the clipboard, invoke `$clipboard` from an event handler in your component.
 
 ```html