Roo/util/Clipboard.js
authorAlan Knowles <alan@roojs.com>
Tue, 8 Jun 2021 08:46:54 +0000 (16:46 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 8 Jun 2021 08:46:54 +0000 (16:46 +0800)
roojs-core.js
roojs-core-debug.js
roojs-debug.js
roojs-all.js

Roo/util/Clipboard.js
roojs-core-debug.js
roojs-debug.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) {
index 62baa53..02931da 100644 (file)
@@ -14513,7 +14513,10 @@ Roo.extend(Roo.util.ClickRepeater, Roo.util.Observable, {
  * 
  **/
 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) {
index f527ba6..ba91ad0 100644 (file)
@@ -14513,7 +14513,10 @@ Roo.extend(Roo.util.ClickRepeater, Roo.util.Observable, {
  * 
  **/
 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) {