Browse Source

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

Ryan Chandler 2 năm trước cách đây
mục cha
commit
115d1d8c12
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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