Roo/util/Clipboard.js
[roojs1] / Roo / util / Clipboard.js
index 3c9d80c..005fd04 100644 (file)
@@ -6,7 +6,10 @@
  * 
  **/
 Roo.util.Clipboard = {
-    
+    /**
+     * Writes a string to the clipboard - using the Clipboard API if https, otherwise using text area.
+     * @param {String} text to copy to clipboard
+     */
     write : function(text) {
         // navigator clipboard api needs a secure context (https)
         if (navigator.clipboard && window.isSecureContext) {